sc(4) md bits: stop setting sc->kbd entirely

The machdep parts no longer need to touch keyboard parts after r356043;
sc->kbd will be 0-initialized and this works as expected.
This commit is contained in:
kevans 2019-12-30 02:07:55 +00:00
parent 7c18ef844d
commit 8274dc2ee2
5 changed files with 0 additions and 5 deletions

View File

@ -69,7 +69,6 @@ sc_get_softc(int unit, int flags)
sc = &sc_softcs[unit];
sc->unit = unit;
if ((sc->flags & SC_INIT_DONE) == 0) {
sc->kbd = NULL;
sc->adapter = -1;
sc->cursor_char = SC_CURSOR_CHAR;
sc->mouse_char = SC_MOUSE_CHAR;

View File

@ -117,7 +117,6 @@ sc_softc_t
}
sc->unit = unit;
if ((sc->flags & SC_INIT_DONE) == 0) {
sc->kbd = NULL;
sc->adapter = -1;
sc->cursor_char = SC_CURSOR_CHAR;
sc->mouse_char = SC_MOUSE_CHAR;

View File

@ -69,7 +69,6 @@ sc_get_softc(int unit, int flags)
sc = &sc_softcs[unit];
sc->unit = unit;
if ((sc->flags & SC_INIT_DONE) == 0) {
sc->kbd = NULL;
sc->adapter = -1;
sc->cursor_char = SC_CURSOR_CHAR;
sc->mouse_char = SC_MOUSE_CHAR;

View File

@ -69,7 +69,6 @@ sc_get_softc(int unit, int flags)
sc = &sc_softcs[unit];
sc->unit = unit;
if ((sc->flags & SC_INIT_DONE) == 0) {
sc->kbd = NULL;
sc->adapter = -1;
sc->cursor_char = SC_CURSOR_CHAR;
sc->mouse_char = SC_MOUSE_CHAR;

View File

@ -131,7 +131,6 @@ sc_get_softc(int unit, int flags)
sc = &sc_softcs[unit];
sc->unit = unit;
if ((sc->flags & SC_INIT_DONE) == 0) {
sc->kbd = NULL;
sc->adapter = -1;
sc->cursor_char = SC_CURSOR_CHAR;
sc->mouse_char = SC_MOUSE_CHAR;