Commit 6e2a60b5 authored by Emil Tantilov's avatar Emil Tantilov Committed by Jeff Kirsher
Browse files

ixgbe: make __ixgbe_setup_tc static



This function is only used in ixgbe_main.c
Resolves a "missing prototype" warning when building the driver with W=1

Reported-by: default avatarPhil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: default avatarEmil Tantilov <emil.s.tantilov@intel.com>
Acked-by: default avatarJohn Fastabend <john.r.fastabend@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 32ca6868
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8376,7 +8376,7 @@ err_out:
	return -EINVAL;
}

int __ixgbe_setup_tc(struct net_device *dev, u32 handle, __be16 proto,
static int __ixgbe_setup_tc(struct net_device *dev, u32 handle, __be16 proto,
			    struct tc_to_netdev *tc)
{
	struct ixgbe_adapter *adapter = netdev_priv(dev);