Subject: [PATCH 31/33] fix unused parameter warning in ixgb_dump_regs()

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

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

This fixes:
  external/ethtool/ixgb.c:42:40: error: unused parameter 'info' [-Werror,-Wunused-parameter]
  ixgb_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)

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

diff --git a/ixgb.c b/ixgb.c
index 8687c21..7c16c6e 100644
--- a/ixgb.c
+++ b/ixgb.c
@@ -38,8 +38,8 @@
 #define IXGB_RAH_ASEL_SRC         0x00010000
 #define IXGB_RAH_AV               0x80000000
 
-int
-ixgb_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)
+int ixgb_dump_regs(struct ethtool_drvinfo *info maybe_unused,
+		   struct ethtool_regs *regs)
 {
 	u32 *regs_buff = (u32 *)regs->data;
 	u8 version = (u8)(regs->version >> 24);
-- 
2.23.0.866.gb869b98d4c-goog