Re: [PATCH] net: ag71xx: Slightly simplify 'ag71xx_rx_packets()'

2021-04-05 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Sun, 4 Apr 2021 08:33:44 +0200 you wrote: > There is no need to use 'list_for_each_entry_safe' here, as nothing is > removed from the list in the 'for' loop. > Use 'list_for_each_entry' instead, it is slightly less

[PATCH] net: ag71xx: Slightly simplify 'ag71xx_rx_packets()'

2021-04-04 Thread Christophe JAILLET
There is no need to use 'list_for_each_entry_safe' here, as nothing is removed from the list in the 'for' loop. Use 'list_for_each_entry' instead, it is slightly less verbose. Signed-off-by: Christophe JAILLET --- drivers/net/ethernet/atheros/ag71xx.c | 4 ++-- 1 file changed, 2 insertions(+),