diff options
author | Maciej Żenczykowski <maze@google.com> | 2019-10-17 11:21:05 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2019-10-29 13:51:21 -0400 |
commit | 362fb8b726a4d961d6200f1f36666f69629cc584 (patch) | |
tree | 42e2e65e568bb3833ca5b42ac2a9fc7c527be5ba | |
parent | 87903c2c5ccb3f7808b1d9b6137091d619ce0ae6 (diff) | |
download | ethtool-362fb8b726a4d961d6200f1f36666f69629cc584.tar.gz |
fix unused parameter warning in ixgbevf_dump_regs()
This fixes:
external/ethtool/ixgbevf.c:6:43: error: unused parameter 'info' [-Werror,-Wunused-parameter]
ixgbevf_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs)
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I6f3233ceb46bc6b96eca673578fa2a6281ea8ad7
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | ixgbevf.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,7 +3,8 @@ #include "internal.h" int -ixgbevf_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs) +ixgbevf_dump_regs(struct ethtool_drvinfo *info maybe_unused, + struct ethtool_regs *regs) { u32 *regs_buff = (u32 *)regs->data; u8 version = (u8)(regs->version >> 24); |