summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ni
diff options
context:
space:
mode:
authorMoritz Fischer <mdf@kernel.org>2018-08-11 03:19:41 +0200
committerDavid S. Miller <davem@davemloft.net>2018-08-13 17:49:37 +0200
commitfd5cf434a4b0b25fc6f76b90373302a26d541ac8 (patch)
tree4bb703c946ab117dbb24043ae832f6438643763c /drivers/net/ethernet/ni
parentnet: nixge: Do not zero application specific fields in desc (diff)
downloadlinux-fd5cf434a4b0b25fc6f76b90373302a26d541ac8.tar.xz
linux-fd5cf434a4b0b25fc6f76b90373302a26d541ac8.zip
net: nixge: Don't store skb in app4 field of descriptor
Don't store skb in app4 field of descriptor since it is not being used anywhere (including hardware). Signed-off-by: Moritz Fischer <mdf@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ni')
-rw-r--r--drivers/net/ethernet/ni/nixge.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ni/nixge.c b/drivers/net/ethernet/ni/nixge.c
index ac31b0d30415..76efed058f33 100644
--- a/drivers/net/ethernet/ni/nixge.c
+++ b/drivers/net/ethernet/ni/nixge.c
@@ -503,7 +503,6 @@ static int nixge_start_xmit(struct sk_buff *skb, struct net_device *ndev)
tx_skb->skb = skb;
cur_p->cntrl |= XAXIDMA_BD_CTRL_TXEOF_MASK;
- cur_p->app4 = (unsigned long)skb;
tail_p = priv->tx_bd_p + sizeof(*priv->tx_bd_v) * priv->tx_bd_tail;
/* Start the transfer */