summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2018-08-10 09:29:59 +0800
committerDavid S. Miller <davem@davemloft.net>2018-08-10 14:41:52 -0700
commit1e7953bc560451302dcb5d5b3fafd1949447579a (patch)
tree723f06760314e68035048855eaec07b367ab549f /drivers/net/ethernet/qlogic
parent4f23c43c414d81b377a07b936e7edfe7167660b5 (diff)
downloadlinux-1e7953bc560451302dcb5d5b3fafd1949447579a.tar.bz2
qed/qede: qede_setup_tc() can be static
Fixes: 5e7baf0fcb2a ("qed/qede: Multi CoS support.") Signed-off-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic')
-rw-r--r--drivers/net/ethernet/qlogic/qede/qede_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qede/qede_main.c b/drivers/net/ethernet/qlogic/qede/qede_main.c
index 4b5d98f60d32..46d0f2eaa0c0 100644
--- a/drivers/net/ethernet/qlogic/qede/qede_main.c
+++ b/drivers/net/ethernet/qlogic/qede/qede_main.c
@@ -536,7 +536,7 @@ static int qede_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
return 0;
}
-int qede_setup_tc(struct net_device *ndev, u8 num_tc)
+static int qede_setup_tc(struct net_device *ndev, u8 num_tc)
{
struct qede_dev *edev = netdev_priv(ndev);
int cos, count, offset;