summaryrefslogtreecommitdiff
path: root/net/ipv4/inet_hashtables.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-11-07 05:33:53 +0300
committerDavid S. Miller <davem@davemloft.net>2018-11-07 22:46:37 +0300
commitf601a85bd7883708f48911d8c88e69fe5bde2b4d (patch)
treef3406878c8c959d2034167633b5f8f103b74963b /net/ipv4/inet_hashtables.c
parent75790a74257baa0d8bda8f8f4cfd7306af9a0305 (diff)
downloadlinux-f601a85bd7883708f48911d8c88e69fe5bde2b4d.tar.xz
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 'net/ipv4/inet_hashtables.c')
0 files changed, 0 insertions, 0 deletions