diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-11-07 02:33:53 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-07 11:46:37 -0800 |
commit | f601a85bd7883708f48911d8c88e69fe5bde2b4d (patch) | |
tree | f3406878c8c959d2034167633b5f8f103b74963b /include/net/geneve.h | |
parent | 75790a74257baa0d8bda8f8f4cfd7306af9a0305 (diff) |
net: hns3: Remove set but not used variable 'reset_level'
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c: In function 'hclge_log_and_clear_ppp_error':
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c:821:24: warning:
variable 'reset_level' set but not used [-Wunused-but-set-variable]
enum hnae3_reset_type reset_level = HNAE3_NONE_RESET;
It never used since introduction in commit
01865a50d78f ("net: hns3: Add enable and process hw errors of TM scheduler")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/geneve.h')
0 files changed, 0 insertions, 0 deletions