Skip to content

Commit

Permalink
Blackfin EMAC Driver: delete unused variables to fixup gcc warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Frysinger authored and Jeff Garzik committed Mar 29, 2008
1 parent e66f416 commit 51a491c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/net/bfin_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,6 @@ static void adjust_tx_list(void)
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;
Expand Down Expand Up @@ -634,7 +633,6 @@ static int bf537mac_hard_start_xmit(struct sk_buff *skb,
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 */
Expand Down

0 comments on commit 51a491c

Please sign in to comment.