Subject: [PATCH 23/33] fix unused parameter warning in igb_dump_regs()

From: Maciej Żenczykowski <[email-masked]>
Date: Thu, 17 Oct 2019 11:21:11 -0700

From: Maciej Żenczykowski <[email-masked]>

This fixes:
  external/ethtool/igb.c:92:39: error: unused parameter 'info' [-Werror,-Wunused-parameter]
  igb_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)

Signed-off-by: Maciej Żenczykowski <[email-masked]>
Change-Id: If2e175d1b1bd3976d760dc359b52c304e8334f92
---
 igb.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/igb.c b/igb.c
index cb24877..89b5cdb 100644
--- a/igb.c
+++ b/igb.c
@@ -88,8 +88,8 @@
 #define E1000_TCTL_RTLC   0x01000000    /* Re-transmit on late collision */
 #define E1000_TCTL_NRTU   0x02000000    /* No Re-transmit on underrun */
 
-int
-igb_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)
+int igb_dump_regs(struct ethtool_drvinfo *info maybe_unused,
+		  struct ethtool_regs *regs)
 {
 	u32 *regs_buff = (u32 *)regs->data;
 	u32 reg;
-- 
2.23.0.866.gb869b98d4c-goog