diff options
author | Zhang Changzhong <zhangchangzhong@huawei.com> | 2020-09-14 21:24:39 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-14 13:44:12 -0700 |
commit | f3694707adb21c54c9ab3467029a0e294e0fd4fb (patch) | |
tree | 3ea6dbeef3e633afaa4c9d7aaae6135cf531c5ab /drivers/net/ethernet/huawei/hinic/hinic_tx.c | |
parent | f7ab0f04a0f816e1329b559de91da1971c515d50 (diff) | |
download | linux-f3694707adb21c54c9ab3467029a0e294e0fd4fb.tar.bz2 |
net: qlcnic: remove unused variable 'val' in qlcnic_83xx_cam_unlock()
Fixes the following W=1 kernel build warning(s):
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c:661:6: warning:
variable 'val' set but not used [-Wunused-but-set-variable]
661 | u32 val;
| ^~~
After commit 7f9664525f9c ("qlcnic: 83xx memory map and HW access
routines"), variable 'val' is never used in qlcnic_83xx_cam_unlock(), so
removing it to avoid build warning.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/huawei/hinic/hinic_tx.c')
0 files changed, 0 insertions, 0 deletions