[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1377201313-10420-1-git-send-email-agust@denx.de>
Date: Thu, 22 Aug 2013 21:55:12 +0200
From: Anatolij Gustschin <agust@...x.de>
To: netdev@...r.kernel.org
Cc: davem@...emloft.net, pantelis.antoniou@...il.com,
vbordug@...mvista.com, Gerhard Sittig <gsi@...x.de>
Subject: [PATCH net-next 1/2] fs_enet: silence a build warning (unused variable)
From: Gerhard Sittig <gsi@...x.de>
Since commit 720a43efd30f04a0a492c85fb997361c44fbae05
(drivers:net: Remove unnecessary OOM messages after netdev_alloc_skb)
there is a build warning:
drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c: In function 'tx_skb_align_workaround':
drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c:586:26: warning: unused variable 'fep'
Fix it.
Signed-off-by: Gerhard Sittig <gsi@...x.de>
Signed-off-by: Anatolij Gustschin <agust@...x.de>
---
.../net/ethernet/freescale/fs_enet/fs_enet-main.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
index 8de53a1..c04eb3a 100644
--- a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
+++ b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
@@ -583,7 +583,6 @@ static struct sk_buff *tx_skb_align_workaround(struct net_device *dev,
struct sk_buff *skb)
{
struct sk_buff *new_skb;
- struct fs_enet_private *fep = netdev_priv(dev);
/* Alloc new skb */
new_skb = netdev_alloc_skb(dev, skb->len + 4);
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists