diff options
author | 2018-09-07 09:41:08 +0800 | |
---|---|---|
committer | 2018-09-07 23:04:19 -0700 | |
commit | be7e1b334be4566926322db7bfc30ad3a805f9bd (patch) | |
tree | 80dc09f401a6b6883924e655dcaa36d76ed5d463 | |
parent | nfp: replace spin_lock_bh with spin_lock in tasklet callback (diff) | |
download | wireguard-linux-be7e1b334be4566926322db7bfc30ad3a805f9bd.tar.xz wireguard-linux-be7e1b334be4566926322db7bfc30ad3a805f9bd.zip |
liquidio: lio_fetch_vf_stats() can be static
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>
-rw-r--r-- | drivers/net/ethernet/cavium/liquidio/lio_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cavium/liquidio/lio_core.c b/drivers/net/ethernet/cavium/liquidio/lio_core.c index 0284204b4b5f..2122430cdcd7 100644 --- a/drivers/net/ethernet/cavium/liquidio/lio_core.c +++ b/drivers/net/ethernet/cavium/liquidio/lio_core.c @@ -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; |