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:
parent
9b31a8daad
commit
06b367b2b6
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user