diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c index b571fefa4d4..28eb52e63bd 100644 --- a/sys/pc98/cbus/sio.c +++ b/sys/pc98/cbus/sio.c @@ -2124,9 +2124,7 @@ comhardclose(com) { int s; struct tty *tp; - int unit; - unit = com->unit; s = spltty(); com->poll = FALSE; com->poll_output = FALSE; diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c index b571fefa4d4..28eb52e63bd 100644 --- a/sys/pc98/pc98/sio.c +++ b/sys/pc98/pc98/sio.c @@ -2124,9 +2124,7 @@ comhardclose(com) { int s; struct tty *tp; - int unit; - unit = com->unit; s = spltty(); com->poll = FALSE; com->poll_output = FALSE;