Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: mvpp2: mvpp2_check_hw_buf_num() can be static

Fixes: effbf5f58d64 ("net: mvpp2: update the BM buffer free/destroy logic")
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

kbuild test robot and committed by
David S. Miller
6e61e10a 9a21ac94

+1 -1
+1 -1
drivers/net/ethernet/marvell/mvpp2.c
··· 4295 4295 } 4296 4296 4297 4297 /* Check number of buffers in BM pool */ 4298 - int mvpp2_check_hw_buf_num(struct mvpp2 *priv, struct mvpp2_bm_pool *bm_pool) 4298 + static int mvpp2_check_hw_buf_num(struct mvpp2 *priv, struct mvpp2_bm_pool *bm_pool) 4299 4299 { 4300 4300 int buf_num = 0; 4301 4301