linux/drivers/net/ethernet/qlogic
Zhang Changzhong f3694707ad 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 7f9664525f ("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>
2020-09-14 13:44:12 -07:00
..
netxen treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
qed qed: convert tasklets to use new tasklet_setup() API 2020-09-14 13:02:38 -07:00
qede qede: make driver reliable on unload after failures 2020-08-24 18:01:33 -07:00
qlcnic net: qlcnic: remove unused variable 'val' in qlcnic_83xx_cam_unlock() 2020-09-14 13:44:12 -07:00
Kconfig qed: fix kconfig help entries 2020-08-24 18:01:32 -07:00
Makefile qlge: Move drivers/net/ethernet/qlogic/qlge/ to drivers/staging/qlge/ 2019-07-23 11:29:40 -07:00
qla3xxx.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
qla3xxx.h