Skip to content
Commit bc638eab authored by Wei Fang's avatar Wei Fang Committed by Paolo Abeni
Browse files

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: default avatarWei Fang <wei.fang@nxp.com>
Reviewed-by: default avatarSimon Horman <simon.horman@corigine.com>
Link: https://lore.kernel.org/r/20230529022615.669589-1-wei.fang@nxp.com
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent bc590b47
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment