diff options
author | Michal Kubecek <mkubecek@suse.cz> | 2020-08-03 13:57:06 +0200 |
---|---|---|
committer | Michal Kubecek <mkubecek@suse.cz> | 2020-08-04 14:15:28 +0200 |
commit | b131eba4803d29bc866426029541b9c00c223296 (patch) | |
tree | baa17649ebce59acd8009a8294281c571e6b6ebf /et131x.c | |
parent | bef780467fa7aa95dca3ed5cc3ebb8bec5882f08 (diff) | |
download | ethtool-b131eba4803d29bc866426029541b9c00c223296.tar.gz |
rename maybe_unused macro to __maybe_unused
This makes the code consistent with kernel and also makes it a bit more
apparent that it is an attribute.
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Diffstat (limited to 'et131x.c')
-rw-r--r-- | et131x.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2,7 +2,7 @@ #include <string.h> #include "internal.h" -int et131x_dump_regs(struct ethtool_drvinfo *info maybe_unused, +int et131x_dump_regs(struct ethtool_drvinfo *info __maybe_unused, struct ethtool_regs *regs) { u8 version = (u8)(regs->version >> 24); |