[PATCH 1/6] usb net smsc95xx: remove unused variable
Sascha Hauer
s.hauer at pengutronix.de
Wed Feb 15 03:03:59 EST 2012
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
drivers/net/usb/smsc95xx.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c
index b518992..f2a2d00 100644
--- a/drivers/net/usb/smsc95xx.c
+++ b/drivers/net/usb/smsc95xx.c
@@ -722,8 +722,6 @@ static int smsc95xx_reset(struct usbnet *dev)
return 0;
}
-static struct usbnet *usbnet_global;
-
static int smsc95xx_bind(struct usbnet *dev)
{
struct smsc95xx_priv *pdata = NULL;
@@ -767,8 +765,6 @@ static void smsc95xx_unbind(struct usbnet *dev)
pdata = NULL;
dev->data[0] = 0;
}
-
- usbnet_global = NULL;
}
static int smsc95xx_rx_fixup(struct usbnet *dev, void *buf, int len)
--
1.7.9
More information about the barebox
mailing list