Subject: [PATCH 28/33] fix unused parameter warning in amd8111e_dump_regs()

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

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

This fixes:
  external/ethtool/amd8111e.c:155:48: error: unused parameter 'info' [-Werror,-Wunused-parameter]
  int amd8111e_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)

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

diff --git a/amd8111e.c b/amd8111e.c
index 23478f0..5a056b3 100644
--- a/amd8111e.c
+++ b/amd8111e.c
@@ -152,7 +152,8 @@ typedef enum {
 #define PHY_SPEED_100		0x3

-int amd8111e_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)
+int amd8111e_dump_regs(struct ethtool_drvinfo *info maybe_unused,
+		       struct ethtool_regs *regs)
 {
 
 	u32 *reg_buff = (u32 *)regs->data;
-- 
2.23.0.866.gb869b98d4c-goog