Skip to content
Commit 4351e534 authored by Wei Fang's avatar Wei Fang Committed by Xiaolei Wang
Browse files

net: fec: remove useless fec_enet_reset_skb()

commit b4455aa991488ca572d3756e8be1582c78ecbc4e from
https://github.com/nxp-imx/linux-imx.git



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: default avatarWei Fang <wei.fang@nxp.com>
Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarXiaolei Wang <xiaolei.wang@windriver.com>
parent fce20c41
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment