diff options
author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2020-09-18 16:49:51 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-18 14:33:43 -0700 |
commit | f313edfe085bb9a16c96208dd6db8218c081dfaf (patch) | |
tree | 3e2ab47710da09eed17c886d5ce2452640a88970 /drivers/net/ethernet/huawei/hinic/hinic_rx.c | |
parent | a9609d79b45130424bd675f3a54d208eb02955c9 (diff) | |
download | linux-f313edfe085bb9a16c96208dd6db8218c081dfaf.tar.bz2 |
net: cortina: Remove set but not used variable
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/net/ethernet/cortina/gemini.c: In function gmac_get_ringparam:
drivers/net/ethernet/cortina/gemini.c:2125:21: warning: variable ‘config0’ set but not used [-Wunused-but-set-variable]
drivers/net/ethernet/cortina/gemini.c: In function gmac_init:
drivers/net/ethernet/cortina/gemini.c:512:6: warning: variable ‘val’ set but not used [-Wunused-but-set-variable]
these variable is never used, so remove it.
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/huawei/hinic/hinic_rx.c')
0 files changed, 0 insertions, 0 deletions