diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-08-23 11:08:09 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-09-27 22:00:52 -0400 |
commit | 7a823471ad42cba6c3b658494d8437ca5c166292 (patch) | |
tree | 15545344b9d54d28677c6c4a967724c98b80f88c /drivers/net/ethernet/intel | |
parent | e96e0eded1335b9cfac71fcdd989d682eb3f8412 (diff) |
igb: fix non static symbol warning
Fixes the following sparse warning:
drivers/net/ethernet/intel/igb/igb_ethtool.c:2707:5: warning:
symbol 'igb_rxnfc_write_vlan_prio_filter' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel')
-rw-r--r-- | drivers/net/ethernet/intel/igb/igb_ethtool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/igb/igb_ethtool.c b/drivers/net/ethernet/intel/igb/igb_ethtool.c index 0c33eca7c832..737b664d004c 100644 --- a/drivers/net/ethernet/intel/igb/igb_ethtool.c +++ b/drivers/net/ethernet/intel/igb/igb_ethtool.c | |||
@@ -2704,8 +2704,8 @@ static int igb_rxnfc_write_etype_filter(struct igb_adapter *adapter, | |||
2704 | return 0; | 2704 | return 0; |
2705 | } | 2705 | } |
2706 | 2706 | ||
2707 | int igb_rxnfc_write_vlan_prio_filter(struct igb_adapter *adapter, | 2707 | static int igb_rxnfc_write_vlan_prio_filter(struct igb_adapter *adapter, |
2708 | struct igb_nfc_filter *input) | 2708 | struct igb_nfc_filter *input) |
2709 | { | 2709 | { |
2710 | struct e1000_hw *hw = &adapter->hw; | 2710 | struct e1000_hw *hw = &adapter->hw; |
2711 | u8 vlan_priority; | 2711 | u8 vlan_priority; |