diff options
author | 2023-05-29 10:26:15 +0800 | |
---|---|---|
committer | 2023-05-30 16:01:22 +0200 | |
commit | bc638eabfed90fdc798fd5765e67e41abea76152 (patch) | |
tree | feda6131b6c48bd99a3f613c089a6c1d56e44fa9 /net/tipc/udp_media.c | |
parent | r8169: check for PCI read error in probe (diff) | |
download | wireguard-linux-bc638eabfed90fdc798fd5765e67e41abea76152.tar.xz wireguard-linux-bc638eabfed90fdc798fd5765e67e41abea76152.zip |
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/tipc/udp_media.c')
0 files changed, 0 insertions, 0 deletions