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>
This commit is contained in:
parent
e66f4168d1
commit
51a491c92e
@ -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:
|
|||||||
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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user