Commit c6380bca authored by William Lee Irwin III's avatar William Lee Irwin III Committed by Linus Torvalds

[PATCH] sparc32: unused variable in sunsu.c

serio is unused except in the #ifdef CONFIG_SERIO paths. To kill the
warning, make the declaration conditional on the same.
Signed-off-by: default avatarWilliam Irwin <wli@holomorphy.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5929a03f
...@@ -1285,7 +1285,9 @@ static struct uart_driver sunsu_reg = { ...@@ -1285,7 +1285,9 @@ static struct uart_driver sunsu_reg = {
static int __init sunsu_kbd_ms_init(struct uart_sunsu_port *up, int channel) static int __init sunsu_kbd_ms_init(struct uart_sunsu_port *up, int channel)
{ {
#ifdef CONFIG_SERIO
struct serio *serio; struct serio *serio;
#endif
up->port.line = channel; up->port.line = channel;
up->port.type = PORT_UNKNOWN; up->port.type = PORT_UNKNOWN;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment