if_spi: Fix compilation warning - unused variable
authorNikanth Karthikesan <nikanth@google.com>
Tue, 14 Jun 2011 05:53:46 +0000 (11:23 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 17 Jun 2011 18:22:21 +0000 (14:22 -0400)
commit545a8aa793e04bee7a7e2aa8caa70bed94fd7a5c
treebcbeaa5693c1f7c2acfd1eb58ca1971815b427d4
parentd7520b1d2a9ffae94323ffac9dc37d92f656051f
if_spi: Fix compilation warning - unused variable

if_spi: Fix compilation warning - unused variable 'spi'

drivers/net/wireless/libertas/if_spi.c: In function ‘if_spi_init_card’:
drivers/net/wireless/libertas/if_spi.c:1035: warning: unused variable ‘spi’

The variable is used only in a macro which uses the args only for DEBUG builds.
Remove the 'spi' variable completely.

Signed-off-by: Nikanth Karthikesan <nikanth@google.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_spi.c