diff options
author | YueHaibing <yuehaibing@huawei.com> | 2018-11-07 03:33:53 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-07 20:46:37 +0100 |
commit | f601a85bd7883708f48911d8c88e69fe5bde2b4d (patch) | |
tree | f3406878c8c959d2034167633b5f8f103b74963b /include/net/inet6_hashtables.h | |
parent | Merge branch 'nfp-more-set-actions-and-notifier-refactor' (diff) | |
download | linux-f601a85bd7883708f48911d8c88e69fe5bde2b4d.tar.xz linux-f601a85bd7883708f48911d8c88e69fe5bde2b4d.zip |
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/inet6_hashtables.h')
0 files changed, 0 insertions, 0 deletions