aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorWei Fang <wei.fang@nxp.com>2023-05-19 10:01:13 +0800
committerDavid S. Miller <davem@davemloft.net>2023-05-22 11:10:49 +0100
commit2ae9c66b04554bf5b3eeaab8c12a0bfb9f28ebde (patch)
treef5b15c24303f1642a3eb78e5e575d6d0f59eb48c /net/unix/af_unix.c
parente4ac7cc6e5a45306049ac2337dea0e636adf36be (diff)
downloadlinux-2ae9c66b04554bf5b3eeaab8c12a0bfb9f28ebde.tar.gz
linux-2ae9c66b04554bf5b3eeaab8c12a0bfb9f28ebde.tar.bz2
linux-2ae9c66b04554bf5b3eeaab8c12a0bfb9f28ebde.zip
net: fec: remove useless fec_enet_reset_skb()
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions