]> git.baikalelectronics.ru Git - kernel.git/commit
bcm63xx_enet: consolidate rx SKB ring cleanup code
authorSieng Piaw Liew <liew.s.piaw@gmail.com>
Wed, 6 Jan 2021 14:42:06 +0000 (22:42 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 7 Jan 2021 20:39:53 +0000 (12:39 -0800)
commitf3283ac5c05358a902e2cdb4f4ac7aa8f9d2b7fb
treecbcac675413962f6c642cfe2b0a703954b066717
parent5ef54d78da0e6c8da8bb808b72dd63024ac3131f
bcm63xx_enet: consolidate rx SKB ring cleanup code

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 <liew.s.piaw@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bcm63xx_enet.c