]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Blackfin EMAC Driver: delete unused variables to fixup gcc warnings
authorMike Frysinger <vapier.adi@gmail.com>
Thu, 27 Mar 2008 01:21:58 +0000 (18:21 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 29 Mar 2008 01:52:56 +0000 (21:52 -0400)
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>
drivers/net/bfin_mac.c

index c993a32b3f50c1b0389a90ee193aa7bb24e94ba4..26b2dd5016cd4ecfcd9a94915dfa9cb4744f91f0 100644 (file)
@@ -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 */