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:
Kyle Evans 2019-12-30 02:07:55 +00:00
parent 9b31a8daad
commit 06b367b2b6
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;