diff options
author | Maciej Żenczykowski <maze@google.com> | 2019-10-17 11:20:52 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2019-10-29 13:51:21 -0400 |
commit | 302e91abf7589462efa56196b352b0f02af8a46c (patch) | |
tree | 80ccac55cf5094c1db8cc112513aa0e4a3dcb134 | |
parent | 2054a8c77006e98957b7451ad4f60c2b22186cd0 (diff) | |
download | ethtool-302e91abf7589462efa56196b352b0f02af8a46c.tar.gz |
fix unused parameter warning in dump_eeprom()
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 <maze@google.com>
Change-Id: I57c65a8d21c6864d4c09f37bb3d408348ea03c4f
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | ethtool.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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) { |