summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ni
diff options
context:
space:
mode:
authorMoritz Fischer <mdf@kernel.org>2018-08-11 04:19:41 +0300
committerDavid S. Miller <davem@davemloft.net>2018-08-13 18:49:37 +0300
commitfd5cf434a4b0b25fc6f76b90373302a26d541ac8 (patch)
tree4bb703c946ab117dbb24043ae832f6438643763c /drivers/net/ethernet/ni
parente158770e22892f8f8e11810267e2a100d25d22c7 (diff)
downloadlinux-fd5cf434a4b0b25fc6f76b90373302a26d541ac8.tar.xz
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 */