igb: Remove redundant extern declarations
Subsystems (3)
PATCH 1/1 igb: Remove redundant extern declarations
igb_open() and igb_close() are already declared in igb.h which is included by igb_main.c. Remove the duplicate extern declarations from igb_main.c to avoid redundancy and fix checkpatch warnings.
--- drivers/net/ethernet/intel/igb/igb_main.c | 2 -- 1 file changed, 2 deletions(-)
drivers/net/ethernet/intel/igb/igb_main.c +0 -2
@@ -108,8 +108,6 @@ static void igb_free_all_rx_resources(struct igb_adapter *);static void igb_setup_mrqc (struct igb_adapter *);static void igb_init_queue_configuration (struct igb_adapter *adapter);static int igb_sw_init (struct igb_adapter *); -int igb_open (struct net_device *); -int igb_close (struct net_device *);static void igb_configure (struct igb_adapter *);static void igb_configure_tx (struct igb_adapter *);static void igb_configure_rx (struct igb_adapter *);
Signature · 1 line
2.51.1