liquidio: lio_fetch_vf_stats() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Fri, 7 Sep 2018 01:41:08 +0000 (09:41 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 8 Sep 2018 06:04:19 +0000 (23:04 -0700)
Fixes: 488752220b4a ("liquidio: Add spoof checking on a VF MAC address")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/liquidio/lio_core.c

index 0284204b4b5f97c1f6f11f57e977e4b4f11e77b9..2122430cdcd76a7016ec1d2b10755b00f0ea311b 100644 (file)
@@ -1357,7 +1357,7 @@ octnet_nic_stats_callback(struct octeon_device *oct_dev,
        }
 }
 
-int lio_fetch_vf_stats(struct lio *lio)
+static int lio_fetch_vf_stats(struct lio *lio)
 {
        struct octeon_device *oct_dev = lio->oct_dev;
        struct octeon_soft_command *sc;