]> git.baikalelectronics.ru Git - kernel.git/commit
Char: cyclades, fix unused variable
authorJiri Slaby <jslaby@suse.cz>
Wed, 23 Mar 2011 08:49:56 +0000 (09:49 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 19 Apr 2011 21:41:47 +0000 (14:41 -0700)
commit6d6b3fa2e835664e1afb7686c3ee467f08d16d55
treef3e105725b7983416def79d7b3fa7d8260de7465
parente04b2c8463821d0906e56aa0ea041f28d4c4b0ad
Char: cyclades, fix unused variable

drivers/tty/cyclades.c:1454:2: warning: Value stored to 'channel' is never read
channel = info->line - card->first_line;
^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Fix it by moving it to the appropriate debug section where it is used.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/cyclades.c