Commit 51a491c9 authored by Mike Frysinger's avatar Mike Frysinger Committed by Jeff Garzik

Blackfin EMAC Driver: delete unused variables to fixup gcc warnings

Signed-off-by: default avatarMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent e66f4168
...@@ -575,7 +575,6 @@ adjust_head: ...@@ -575,7 +575,6 @@ adjust_head:
static int bf537mac_hard_start_xmit(struct sk_buff *skb, static int bf537mac_hard_start_xmit(struct sk_buff *skb,
struct net_device *dev) struct net_device *dev)
{ {
struct bf537mac_local *lp = netdev_priv(dev);
unsigned int data; unsigned int data;
current_tx_ptr->skb = skb; current_tx_ptr->skb = skb;
...@@ -634,7 +633,6 @@ out: ...@@ -634,7 +633,6 @@ out:
static void bf537mac_rx(struct net_device *dev) static void bf537mac_rx(struct net_device *dev)
{ {
struct sk_buff *skb, *new_skb; struct sk_buff *skb, *new_skb;
struct bf537mac_local *lp = netdev_priv(dev);
unsigned short len; unsigned short len;
/* allocate a new skb for next time receive */ /* allocate a new skb for next time receive */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment