diff options
author | Gerhard Sittig <gsi@denx.de> | 2013-08-22 21:55:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-23 07:13:54 +0200 |
commit | 35b9eb0eee736e3d984d24873e0eff85dba6037f (patch) | |
tree | 136f05251239fbca76ca99ee26feca9cb58a4604 /drivers/net/ethernet/freescale | |
parent | net: sctp_probe: simplify code by using %pISc format specifier (diff) | |
download | linux-35b9eb0eee736e3d984d24873e0eff85dba6037f.tar.xz linux-35b9eb0eee736e3d984d24873e0eff85dba6037f.zip |
fs_enet: silence a build warning (unused variable)
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@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale')
-rw-r--r-- | drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | 1 |
1 files changed, 0 insertions, 1 deletions
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 8de53a14a6f4..c04eb3aeb834 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); |