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

net: bnx2x: Staticize local symbols

Local symbols used only in this file are made static.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: Eilon Greenstein <eilong@broadcom.com>
Cc: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Sachin Kamat and committed by
David S. Miller
8e61777d cd738c4e

+4 -3
+4 -3
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
··· 2802 2802 u8 state; 2803 2803 }; 2804 2804 2805 - void bnx2x_set_vf_state(void *cookie) 2805 + static void bnx2x_set_vf_state(void *cookie) 2806 2806 { 2807 2807 struct set_vf_state_cookie *p = (struct set_vf_state_cookie *)cookie; 2808 2808 ··· 3222 3222 pci_disable_sriov(bp->pdev); 3223 3223 } 3224 3224 3225 - int bnx2x_vf_ndo_prep(struct bnx2x *bp, int vfidx, struct bnx2x_virtf **vf, 3226 - struct pf_vf_bulletin_content **bulletin) 3225 + static int bnx2x_vf_ndo_prep(struct bnx2x *bp, int vfidx, 3226 + struct bnx2x_virtf **vf, 3227 + struct pf_vf_bulletin_content **bulletin) 3227 3228 { 3228 3229 if (bp->state != BNX2X_STATE_OPEN) { 3229 3230 BNX2X_ERR("vf ndo called though PF is down\n");