Blackfin EMAC Driver: delete unused variables to fixup gcc warnings
Subsystems (2)
PATCH 2/2 Blackfin EMAC Driver: delete unused variables to fixup gcc warnings
From: Mike Frysinger <[email protected]>
Signed-off-by Mike Frysinger <[email protected]>
Signed-off-by Bryan Wu <[email protected]>
--- drivers/net/bfin_mac.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/net/bfin_mac.c +0 -2
@@ -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 */
Signature · 1 line
1.5.4.3
Jeff Garzik
AppliedQuoted 21 lines · Bryan Wu
From: Mike Frysinger <[email protected]>
Signed-off-by Mike Frysinger <[email protected]>Signed-off-by Bryan Wu <[email protected]>--- drivers/net/bfin_mac.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)drivers/net/bfin_mac.c +0
-1@@ -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;
drivers/net/bfin_mac.c out: · line 636
Quoted 5 lines
drivers/net/bfin_mac.c +0
-1@@ -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;
applied