ixgbe: make __ixgbe_setup_tc static
Subsystems (2)
PATCH 1/1 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
--- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +2 -2
@@ -8355,8 +8355,8 @@ err_out:return -EINVAL ; } -int __ixgbe_setup_tc (struct net_device *dev,u32 handle,__be16 proto, -struct tc_to_netdev *tc) +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);
PATCH 1/1 ixgbe: make __ixgbe_setup_tc static
Quoted 6 lines · Emil Tantilov
This function is only used in
ixgbe_main.c
Resolves a "missing prototype" warning when building the driver with W=1Reported-by Phil Schmitt <[email protected]>Signed-off-by Emil Tantilov <[email protected]>---
Yep missed this thanks.
Bowers
PATCH 1/1 ixgbe: make __ixgbe_setup_tc static
In reply to Emil TantilovQuoted 7 lines
-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Emil Tantilov
Sent: Wednesday, February 17, 2016 3:55 PM
To: intel-wired-lan at lists.osuosl.org
Subject: [Intel-wired-lan] [PATCH] ixgbe: make__ixgbe_setup_tcstatic
Quoted 8 lines
This function is only used in
ixgbe_main.cResolves a "missing prototype" warning when building the driver with W=1Reported-by Phil Schmitt <[email protected]>Signed-off-by Emil Tantilov <[email protected]>--- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
No "missing prototype" warning at compile time