diff options
Diffstat (limited to 'i386/i386at')
-rw-r--r-- | i386/i386at/i386at_ds_routines.c | 1 | ||||
-rw-r--r-- | i386/i386at/kd.c | 3 | ||||
-rw-r--r-- | i386/i386at/kd_event.c | 4 | ||||
-rw-r--r-- | i386/i386at/kd_mouse.c | 2 | ||||
-rw-r--r-- | i386/i386at/lpr.c | 3 |
5 files changed, 0 insertions, 13 deletions
diff --git a/i386/i386at/i386at_ds_routines.c b/i386/i386at/i386at_ds_routines.c index 0cd8b54..53a3773 100644 --- a/i386/i386at/i386at_ds_routines.c +++ b/i386/i386at/i386at_ds_routines.c @@ -72,7 +72,6 @@ ds_device_open (ipc_port_t open_port, ipc_port_t reply_port, char *name, device_t *devp) { int i; - device_t dev; io_return_t err; /* Open must be called on the master device port. */ diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c index e982b12..b8249c2 100644 --- a/i386/i386at/kd.c +++ b/i386/i386at/kd.c @@ -763,7 +763,6 @@ int regs; struct tty *tp; unsigned char c; unsigned char scancode; - int o_pri; int char_idx; boolean_t up = FALSE; /* key-up event */ extern int mouse_in_use; @@ -2973,8 +2972,6 @@ kdcngetc(dev_t dev, int wait) int kdcnputc(dev_t dev, int c) { - int i; - if (!kd_initialized) return; diff --git a/i386/i386at/kd_event.c b/i386/i386at/kd_event.c index c421820..ff70ce0 100644 --- a/i386/i386at/kd_event.c +++ b/i386/i386at/kd_event.c @@ -182,8 +182,6 @@ io_return_t kbdgetstat(dev, flavor, data, count) int * data; /* pointer to OUT array */ unsigned int *count; /* OUT */ { - io_return_t result; - switch (flavor) { case KDGKBDTYPE: *data = KB_VANILLAKB; @@ -206,8 +204,6 @@ io_return_t kbdsetstat(dev, flavor, data, count) int * data; unsigned int count; { - io_return_t result; - switch (flavor) { case KDSKBDMODE: kb_mode = *data; diff --git a/i386/i386at/kd_mouse.c b/i386/i386at/kd_mouse.c index 52358f1..679b69e 100644 --- a/i386/i386at/kd_mouse.c +++ b/i386/i386at/kd_mouse.c @@ -321,8 +321,6 @@ io_return_t mousegetstat(dev, flavor, data, count) int * data; /* pointer to OUT array */ unsigned int *count; /* OUT */ { - io_return_t result; - switch (flavor) { case DEV_GET_SIZE: data[DEV_GET_SIZE_DEVICE_SIZE] = 0; diff --git a/i386/i386at/lpr.c b/i386/i386at/lpr.c index 1483687..d68313d 100644 --- a/i386/i386at/lpr.c +++ b/i386/i386at/lpr.c @@ -113,7 +113,6 @@ void lprattach(struct bus_device *dev) { u_char unit = dev->unit; u_short addr = (u_short) dev->address; - struct tty *tp = &lpr_tty[unit]; take_dev_irq(dev); printf(", port = %x, spl = %d, pic = %d.", @@ -228,8 +227,6 @@ unsigned int count; { io_return_t result = D_SUCCESS; int unit = minor(dev); - u_short dev_addr = (u_short) lprinfo[unit]->address; - int s; switch (flavor) { default: |