[Intel-wired-lan] [RFC PATCH] igc: igc_has_link() can be static

kbuild test robot fengguang.wu at intel.com
Sun Jun 24 18:13:07 UTC 2018


Fixes: d32b0b485e39 ("igc: Add watchdog")
Signed-off-by: kbuild test robot <fengguang.wu at intel.com>
---
 igc_main.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/intel/igc/igc_main.c b/drivers/net/ethernet/intel/igc/igc_main.c
index 7fb21af..ed27584 100644
--- a/drivers/net/ethernet/intel/igc/igc_main.c
+++ b/drivers/net/ethernet/intel/igc/igc_main.c
@@ -2334,7 +2334,7 @@ static void igc_free_q_vector(struct igc_adapter *adapter, int v_idx)
  *  igc_has_link - check shared code for link and determine up/down
  *  @adapter: pointer to driver private info
  **/
-bool igc_has_link(struct igc_adapter *adapter)
+static bool igc_has_link(struct igc_adapter *adapter)
 {
 	struct e1000_hw *hw = &adapter->hw;
 	bool link_active = false;


More information about the Intel-wired-lan mailing list