summaryrefslogtreecommitdiff
path: root/drivers/nubus
diff options
context:
space:
mode:
authorNiklas Cassel <niklas.cassel@axis.com>2018-02-19 18:11:10 +0100
committerDavid S. Miller <davem@davemloft.net>2018-02-20 14:13:18 -0500
commitf66b533d2991ed4613b48a0516811413a37a3020 (patch)
treee7431480a88d2ef1f6e06b114b050ea46929a4f3 /drivers/nubus
parent8d212a9ea65af7082adc577ec46b6d1372d0a8f3 (diff)
net: stmmac: do not clear tx_skbuff entries in stmmac_xmit()/stmmac_tso_xmit()
tx_skbuff is initialized to NULL in init_dma_tx_desc_rings(), which is called from ndo_open(). stmmac_tx_clean() frees any non-NULL skb, and sets the tx_skbuff entry to NULL. Hence, there is no need to set skbuff entries to NULL in stmmac_xmit()/stmmac_tso_xmit(), and doing so falsely gives the reader the impression that it is needed. Do not clear tx_skbuff entries in stmmac_xmit()/stmmac_tso_xmit(). Signed-off-by: Niklas Cassel <niklas.cassel@axis.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions