Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e61777d authored by Sachin Kamat's avatar Sachin Kamat Committed by David S. Miller
Browse files

net: bnx2x: Staticize local symbols



Local symbols used only in this file are made static.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Cc: Eilon Greenstein <eilong@broadcom.com>
Cc: Ariel Elior <ariele@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cd738c4e
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -2802,7 +2802,7 @@ struct set_vf_state_cookie {
	u8 state;
};

void bnx2x_set_vf_state(void *cookie)
static void bnx2x_set_vf_state(void *cookie)
{
	struct set_vf_state_cookie *p = (struct set_vf_state_cookie *)cookie;

@@ -3222,7 +3222,8 @@ void bnx2x_disable_sriov(struct bnx2x *bp)
	pci_disable_sriov(bp->pdev);
}

int bnx2x_vf_ndo_prep(struct bnx2x *bp, int vfidx, struct bnx2x_virtf **vf,
static int bnx2x_vf_ndo_prep(struct bnx2x *bp, int vfidx,
			     struct bnx2x_virtf **vf,
			     struct pf_vf_bulletin_content **bulletin)
{
	if (bp->state != BNX2X_STATE_OPEN) {