Subject: [PATCH 21/33] fix unused parameter warning in e100_dump_regs()

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

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

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

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

diff --git a/e100.c b/e100.c
index b982e79..540ae35 100644
--- a/e100.c
+++ b/e100.c
@@ -36,8 +36,8 @@
 #define CU_CMD			0x00F0
 #define RU_CMD			0x0007
 
-int
-e100_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)
+int e100_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