From: Moritz Fischer Date: Sat, 11 Aug 2018 01:19:41 +0000 (-0700) Subject: net: nixge: Don't store skb in app4 field of descriptor X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fd5cf434a4b0b25fc6f76b90373302a26d541ac8;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: David S. Miller --- 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 */