smc911x: Fix unused variable warning.
commita9b121c4df04d7fb508384480bb93f04916fb820
authorPeter Korsgaard <jacmet@sunsite.dk>
Wed, 21 Nov 2007 14:34:15 +0000 (21 15:34 +0100)
committerJeff Garzik <jeff@garzik.org>
Sat, 24 Nov 2007 03:09:01 +0000 (23 22:09 -0500)
tree37e07e615573a9bd0c04bf880db6b6e1202f343c
parentd0c4581b68922157da4e8071781b210043839a74
smc911x: Fix unused variable warning.

The smc911x_local pointer in smc911x_rcv is only used in the SMC_USE_DMA
case. Move it under the #ifdef so GCC doesn't generate a warning in the
non-DMA case.

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/smc911x.c