Subject: [PATCH 09/33] fix unused parameter warning in netsemi_dump_eeprom()

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

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

This fixes:
  external/ethtool/natsemi.c:967:45: error: unused parameter 'info' [-Werror,-Wunused-parameter]
  natsemi_dump_eeprom(struct ethtool_drvinfo *info, struct ethtool_eeprom *ee)

Signed-off-by: Maciej Żenczykowski <[email-masked]>
Change-Id: I40d66f887d18ac6e69e1f365767a19f580a44f69
---
 natsemi.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/natsemi.c b/natsemi.c
index e6e94b0..ce82c42 100644
--- a/natsemi.c
+++ b/natsemi.c
@@ -964,7 +964,8 @@ natsemi_dump_regs(struct ethtool_drvinfo *info maybe_unused,
 }
 
 int
-natsemi_dump_eeprom(struct ethtool_drvinfo *info, struct ethtool_eeprom *ee)
+natsemi_dump_eeprom(struct ethtool_drvinfo *info maybe_unused,
+		    struct ethtool_eeprom *ee)
 {
 	int i;
 	u16 *eebuf = (u16 *)ee->data;
-- 
2.23.0.866.gb869b98d4c-goog