]> git.baikalelectronics.ru Git - kernel.git/commit
serial167: Kill unused variables
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 14 Apr 2010 16:48:50 +0000 (18:48 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 17 May 2010 19:37:38 +0000 (21:37 +0200)
commit4ba8d99bc2ad11becafe0c426dcaf033dbc5d706
tree4130dfe3f75d80629b83c25ef2de8c2a3a2b71b3
parentfc1ce99ebbc8331c241686bfafec4837197b7a62
serial167: Kill unused variables

commits 093f813fc32d889b01bd58660f80a0fafef44823 ("serial167: prepare to push
BKL down into drivers") and 3425e6146422fce5d119f89210fb3cea59262b53 ("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>
drivers/char/serial167.c