Re: [PATCH net-next] net: fec: remove last_bdp from fec_enet_txq_xmit_frame()
From: Simon Horman
Date: Thu May 25 2023 - 05:09:29 EST
On Thu, May 25, 2023 at 04:38:24PM +0800, wei.fang@xxxxxxx wrote:
> From: Wei Fang <wei.fang@xxxxxxx>
>
> Actually, the last_bdp is useless in fec_enet_txq_xmit_frame(),
> so remove it.
I think it would be useful to describe why it is useless.
F.e. because it is set to bdp, which doesn't change,
so bdp can be used directly instead.
> Signed-off-by: Wei Fang <wei.fang@xxxxxxx>
--
pw-bot: cr