net: nixge: Don't store skb in app4 field of descriptor
authorMoritz Fischer <mdf@kernel.org>
Sat, 11 Aug 2018 01:19:41 +0000 (18:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Aug 2018 15:49:37 +0000 (08:49 -0700)
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>
drivers/net/ethernet/ni/nixge.c

index ac31b0d30415ba15787c3b7f18ca17a58aa63a0a..76efed058f334b75f356641f77bcb55bb107e422 100644 (file)
@@ -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 */