p54: Fix compile warning
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 15 Feb 2011 15:37:06 +0000 (09:37 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 18 Feb 2011 21:53:20 +0000 (16:53 -0500)
commitfe0b7c616ebd7d25afbb4315d0e3220b112a7b2f
treedc18659fed3c2166c477a8793eb9f4ca3a26630c
parent12873372fe1f201813f1cc750a8af7d9193f445c
p54: Fix compile warning

If any of the p54-based drivers are built with CONFIG_P54_LEDS not
defined, the following warning is generated:

  CC [M]  drivers/net/wireless/p54/main.o
drivers/net/wireless/p54/main.c: In function ‘p54_register_common’:
drivers/net/wireless/p54/main.c:614:21: warning: unused variable ‘priv’

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/main.c