提交 51a491c9 编写于 作者: M Mike Frysinger 提交者: Jeff Garzik

Blackfin EMAC Driver: delete unused variables to fixup gcc warnings

Signed-off-by: NMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: NBryan Wu <cooloney@kernel.org>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 e66f4168
...@@ -575,7 +575,6 @@ static void adjust_tx_list(void) ...@@ -575,7 +575,6 @@ static void adjust_tx_list(void)
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 @@ static int bf537mac_hard_start_xmit(struct sk_buff *skb, ...@@ -634,7 +633,6 @@ static int bf537mac_hard_start_xmit(struct sk_buff *skb,
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册