summaryrefslogtreecommitdiffstats
path: root/drivers/net/bfin_mac.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier.adi@gmail.com>2008-03-26 18:21:58 -0700
committerJeff Garzik <jeff@garzik.org>2008-03-28 21:52:56 -0400
commit51a491c92e7a8e4c2fd9ffdb1f046429300a4619 (patch)
tree854965995ad711013f48cc5ace998216fed76127 /drivers/net/bfin_mac.c
parente66f4168d133b9d848dead4c031d11a84caec6dc (diff)
downloadop-kernel-dev-51a491c92e7a8e4c2fd9ffdb1f046429300a4619.zip
op-kernel-dev-51a491c92e7a8e4c2fd9ffdb1f046429300a4619.tar.gz
Blackfin EMAC Driver: delete unused variables to fixup gcc warnings
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/bfin_mac.c')
-rw-r--r--drivers/net/bfin_mac.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c
index c993a32..26b2dd5 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 */
OpenPOWER on IntegriCloud