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

Commit ae72c8d0 authored by John Fastabend's avatar John Fastabend Committed by Jeff Kirsher
Browse files

ixgbe: ixgbe_fwd_ring_down needs to be static



When compiling with -Wstrict-prototypes gcc catches a static
I missed.

./ixgbe_main.c:4254: warning: no previous prototype for 'ixgbe_fwd_ring_down'

Reported-by: default avatarPhillip Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: default avatarJohn Fastabend <john.r.fastabend@intel.com>
Tested-by: default avatarPhil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 74a1b1ea
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4251,7 +4251,7 @@ static void ixgbe_disable_fwd_ring(struct ixgbe_fwd_adapter *vadapter,
	rx_ring->l2_accel_priv = NULL;
}

int ixgbe_fwd_ring_down(struct net_device *vdev,
static int ixgbe_fwd_ring_down(struct net_device *vdev,
			       struct ixgbe_fwd_adapter *accel)
{
	struct ixgbe_adapter *adapter = accel->real_adapter;