Subject: [PATCH 32/33] fix unused parameter warning in fjes_dump_regs()

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

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

This fixes:
  external/ethtool/fjes.c:5:44: error: unused parameter 'info' [-Werror,-Wunused-parameter]
  int fjes_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)

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

diff --git a/fjes.c b/fjes.c
index 52f7c28..4c5f6bc 100644
--- a/fjes.c
+++ b/fjes.c
@@ -2,7 +2,8 @@
 #include <stdio.h>
 #include "internal.h"
 
-int fjes_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)
+int fjes_dump_regs(struct ethtool_drvinfo *info maybe_unused,
+		   struct ethtool_regs *regs)
 {
 	u32 *regs_buff = (u32 *)regs->data;
 
-- 
2.23.0.866.gb869b98d4c-goog