summaryrefslogtreecommitdiff
path: root/net/devlink/leftover.c
diff options
context:
space:
mode:
authorWei Fang <wei.fang@nxp.com>2023-05-29 05:26:15 +0300
committerPaolo Abeni <pabeni@redhat.com>2023-05-30 17:01:22 +0300
commitbc638eabfed90fdc798fd5765e67e41abea76152 (patch)
treefeda6131b6c48bd99a3f613c089a6c1d56e44fa9 /net/devlink/leftover.c
parentbc590b47549225a03c6b36bbc1aede75c917767b (diff)
downloadlinux-bc638eabfed90fdc798fd5765e67e41abea76152.tar.xz
net: fec: remove last_bdp from fec_enet_txq_xmit_frame()
The last_bdp is initialized to bdp, and both last_bdp and bdp are not changed. That is to say that last_bdp and bdp are always equal. So bdp can be used directly. Signed-off-by: Wei Fang <wei.fang@nxp.com> Reviewed-by: Simon Horman <simon.horman@corigine.com> Link: https://lore.kernel.org/r/20230529022615.669589-1-wei.fang@nxp.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/devlink/leftover.c')
0 files changed, 0 insertions, 0 deletions