summaryrefslogtreecommitdiff
path: root/include/net/phonet
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-11-07 02:33:53 +0000
committerDavid S. Miller <davem@davemloft.net>2018-11-07 11:46:37 -0800
commitf601a85bd7883708f48911d8c88e69fe5bde2b4d (patch)
treef3406878c8c959d2034167633b5f8f103b74963b /include/net/phonet
parent75790a74257baa0d8bda8f8f4cfd7306af9a0305 (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/phonet')
0 files changed, 0 insertions, 0 deletions