diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-04-14 16:48:50 (GMT) |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2010-05-17 19:37:38 (GMT) |
commit | f3c7f317c91e45aac0ef9d0b6474cd4637de69f0 (patch) | |
tree | 4130dfe3f75d80629b83c25ef2de8c2a3a2b71b3 /drivers/char | |
parent | b52dd0077cde89111c00efc73a8db07f50ebb3e8 (diff) | |
download | linux-f3c7f317c91e45aac0ef9d0b6474cd4637de69f0.tar.xz |
serial167: Kill unused variables
commits 638157bc1461f6718eeca06bedd9a09cf1f35c36 ("serial167: prepare to push
BKL down into drivers") and 4165fe4ef7305609a96c7f248cefb9c414d0ede5 ("tty:
Fix up char drivers request_room usage") removed code without removing the
corresponding variables:
| drivers/char/serial167.c: In function 'cd2401_rx_interrupt':
| drivers/char/serial167.c:630: warning: unused variable 'len'
| drivers/char/serial167.c: In function 'cy_ioctl':
| drivers/char/serial167.c:1531: warning: unused variable 'val'
Remove the variables to kill the warnings.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'drivers/char')
-rw-r--r-- | drivers/char/serial167.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/char/serial167.c b/drivers/char/serial167.c index 8dfd247..78a62eb 100644 --- a/drivers/char/serial167.c +++ b/drivers/char/serial167.c @@ -627,7 +627,6 @@ static irqreturn_t cd2401_rx_interrupt(int irq, void *dev_id) char data; int char_count; int save_cnt; - int len; /* determine the channel and change to that context */ channel = (u_short) (base_addr[CyLICR] >> 2); @@ -1528,7 +1527,6 @@ static int cy_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) { - unsigned long val; struct cyclades_port *info = tty->driver_data; int ret_val = 0; void __user *argp = (void __user *)arg; |