From: Mike Frysinger Date: Thu, 27 Mar 2008 01:21:58 +0000 (-0700) Subject: Blackfin EMAC Driver: delete unused variables to fixup gcc warnings X-Git-Tag: v2.6.25-rc9~99^2~19^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=51a491c92e7a8e4c2fd9ffdb1f046429300a4619;p=linux-2.6-omap-h63xx.git Blackfin EMAC Driver: delete unused variables to fixup gcc warnings Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c index c993a32b3f5..26b2dd5016c 100644 --- a/drivers/net/bfin_mac.c +++ b/drivers/net/bfin_mac.c @@ -575,7 +575,6 @@ adjust_head: static int bf537mac_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) { - struct bf537mac_local *lp = netdev_priv(dev); unsigned int data; current_tx_ptr->skb = skb; @@ -634,7 +633,6 @@ out: static void bf537mac_rx(struct net_device *dev) { struct sk_buff *skb, *new_skb; - struct bf537mac_local *lp = netdev_priv(dev); unsigned short len; /* allocate a new skb for next time receive */