Subject: [PATCH 26/33] fix unused parameter warning in at76c50x_usb_dump_regs()

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

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

This fixes:
  external/ethtool/at76c50x-usb.c:16:48: error: unused parameter 'info' [-Werror,-Wunused-parameter]
  at76c50x_usb_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)

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

diff --git a/at76c50x-usb.c b/at76c50x-usb.c
index 39e24a4..0121e98 100644
--- a/at76c50x-usb.c
+++ b/at76c50x-usb.c
@@ -12,8 +12,8 @@ static char *hw_versions[] = {
         "     505AMX",
 };
 
-int
-at76c50x_usb_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)
+int at76c50x_usb_dump_regs(struct ethtool_drvinfo *info maybe_unused,
+			   struct ethtool_regs *regs)
 {
 	u8 version = (u8)(regs->version >> 24);
 	u8 rev_id = (u8)(regs->version);
-- 
2.23.0.866.gb869b98d4c-goog