diff options
author | Maciej Żenczykowski <maze@google.com> | 2019-10-17 11:20:54 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2019-10-29 13:51:21 -0400 |
commit | 04042673dd20dcc257802b8a4db09802a540a190 (patch) | |
tree | eb3418b25b4fc25b5b817d1476f8740ad720847d | |
parent | 57c72982892b739c5adaa4ee5ae99cc2b39e0b49 (diff) | |
download | ethtool-04042673dd20dcc257802b8a4db09802a540a190.tar.gz |
fix unused parameter warning in sfc_dump_regs()
This fixes:
external/ethtool/sfc.c:3894:39: error: unused parameter 'info' [-Werror,-Wunused-parameter]
sfc_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ia255a280742332c44b66bf8f5bb678abc7e3467b
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | sfc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3891,7 +3891,7 @@ print_complex_table(unsigned revision, const struct efx_nic_reg_table *table, } int -sfc_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs) +sfc_dump_regs(struct ethtool_drvinfo *info maybe_unused, struct ethtool_regs *regs) { const struct efx_nic_reg *reg; const struct efx_nic_reg_table *table; |