summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qede
diff options
context:
space:
mode:
authorkbuild test robot <fengguang.wu@intel.com>2018-08-10 03:29:59 +0200
committerDavid S. Miller <davem@davemloft.net>2018-08-10 23:41:52 +0200
commit1e7953bc560451302dcb5d5b3fafd1949447579a (patch)
tree723f06760314e68035048855eaec07b367ab549f /drivers/net/ethernet/qlogic/qede
parentmlxsw: core: remove unnecessary function mlxsw_core_driver_put (diff)
downloadlinux-1e7953bc560451302dcb5d5b3fafd1949447579a.tar.xz
linux-1e7953bc560451302dcb5d5b3fafd1949447579a.zip
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/qede')
-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;