* [PATCH] igb: Remove redundant extern declarations
@ 2026-05-05 23:01 Md Shofiqul Islam
0 siblings, 0 replies; only message in thread
From: Md Shofiqul Islam @ 2026-05-05 23:01 UTC (permalink / raw)
To: netdev
Cc: anthony.l.nguyen, przemyslaw.kitszel, linux-kernel,
Md Shofiqul Islam
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(-)
diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c
index ce91dda00..e2691b5c0 100644
--- a/drivers/net/ethernet/intel/igb/igb_main.c
+++ b/drivers/net/ethernet/intel/igb/igb_main.c
@@ -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 *);
--
2.51.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-05 23:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-05 23:01 [PATCH] igb: Remove redundant extern declarations Md Shofiqul Islam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox