qed/qede: qede_setup_tc() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Fri, 10 Aug 2018 01:29:59 +0000 (09:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Aug 2018 21:41:52 +0000 (14:41 -0700)
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>
drivers/net/ethernet/qlogic/qede/qede_main.c

index 4b5d98f60d325f79e1c50150f4d3e268cdbc1f67..46d0f2eaa0c094c19ae47161f84320caeba2c567 100644 (file)
@@ -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;