Subject: [PATCH 04/33] fix unused parameter warning in dump_eeprom()

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

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

This fixes:
  external/ethtool/ethtool.c:1271:70: error: unused parameter 'info' [-Werror,-Wunused-parameter]
  static int dump_eeprom(int geeprom_dump_raw, struct ethtool_drvinfo *info,

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

diff --git a/ethtool.c b/ethtool.c
index 0f3fe7f..acf183d 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -1275,7 +1275,8 @@ nested:
 	return 0;
 }
 
-static int dump_eeprom(int geeprom_dump_raw, struct ethtool_drvinfo *info,
+static int dump_eeprom(int geeprom_dump_raw,
+		       struct ethtool_drvinfo *info maybe_unused,
 		       struct ethtool_eeprom *ee)
 {
 	if (geeprom_dump_raw) {
-- 
2.23.0.866.gb869b98d4c-goog