diff options
author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2020-09-19 10:26:51 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-20 14:17:59 -0700 |
commit | 098c2fc6d91d11bfa0d0b7db0b1b0a5a19a80867 (patch) | |
tree | 8c333d17a6c2f0b6152f36f5e473b27844abc4ef /net/dsa/slave.c | |
parent | 1f14bd99e6d393f55ca5f62dcf7bed0152ec4db6 (diff) |
net: mventa: remove unused variable 'dummy' in mvneta_mib_counters_clear()
Fixes the following W=1 kernel build warning(s):
drivers/net/ethernet/marvell/mvneta.c:754:6: warning:
variable 'dummy' set but not used [-Wunused-but-set-variable]
754 | u32 dummy;
| ^~~~~
This variable is not used in function mvneta_mib_counters_clear(), so
remove it to avoid build warning.
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/slave.c')
0 files changed, 0 insertions, 0 deletions