Searched hist:bc638eabfed90fdc798fd5765e67e41abea76152 (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | diff bc638eabfed90fdc798fd5765e67e41abea76152 Mon May 29 04:26:15 CEST 2023 Wei Fang <wei.fang@nxp.com> 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>
|