mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
net: fec: remove useless fec_enet_reset_skb()
[ Upstream commit2ae9c66b04] This patch is a cleanup for fec driver. The fec_enet_reset_skb() is used to free skb buffers for tx queues and is only invoked in fec_restart(). However, fec_enet_bd_init() also resets skb buffers and is invoked in fec_restart() too. So fec_enet_reset_skb() is redundant and useless. Signed-off-by: Wei Fang <wei.fang@nxp.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: David S. Miller <davem@davemloft.net> Stable-dep-of:20f7973990("net: fec: recycle pages for transmitted XDP frames") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a05dce2058
commit
9541f33a2d
1 changed files with 0 additions and 21 deletions
Loading…
Add table
Add a link
Reference in a new issue