Re: [PATCH net-next v3 5/7] bcm63xx_enet: consolidate rx SKB ring cleanup code

2021-01-06 Thread Florian Fainelli
On 1/6/21 6:42 AM, Sieng Piaw Liew wrote: > The rx SKB ring use the same code for cleanup at various points. > Combine them into a function to reduce lines of code. > > Signed-off-by: Sieng Piaw Liew Acked-by: Florian Fainelli -- Florian

[PATCH net-next v3 5/7] bcm63xx_enet: consolidate rx SKB ring cleanup code

2021-01-06 Thread Sieng Piaw Liew
The rx SKB ring use the same code for cleanup at various points. Combine them into a function to reduce lines of code. Signed-off-by: Sieng Piaw Liew --- drivers/net/ethernet/broadcom/bcm63xx_enet.c | 72 ++-- 1 file changed, 22 insertions(+), 50 deletions(-) diff --git