1
linux/drivers/ssb
Yang Li 7557dfde1b ssb: Remove redundant assignment to err
Variable 'err' is set to zero but this value is never read as it is
overwritten with a new value later on, hence it is a redundant
assignment and can be removed.

Clean up the following clang-analyzer warning:

drivers/ssb/main.c:1306:3: warning: Value stored to 'err' is never read
[clang-analyzer-deadcode.DeadStores]
drivers/ssb/main.c:1312:3: warning: Value stored to 'err' is never read
[clang-analyzer-deadcode.DeadStores]

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Acked-by: Michael Büsch <m@bues.ch>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1619693230-108804-1-git-send-email-yang.lee@linux.alibaba.com
2021-06-15 13:10:16 +03:00
..
b43_pci_bridge.c ssb: Remove home-grown printk wrappers 2018-08-09 18:45:50 +03:00
bridge_pcmcia_80211.c ssb: Fix possible NULL pointer dereference in ssb_host_pcmcia_exit 2019-04-25 19:39:34 +03:00
driver_chipcommon_pmu.c ssb: Replace HTTP links with HTTPS ones 2020-07-15 19:47:10 +03:00
driver_chipcommon_sflash.c ssb: Remove home-grown printk wrappers 2018-08-09 18:45:50 +03:00
driver_chipcommon.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
driver_extif.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
driver_gige.c ssb: driver_gige: use true and false for boolean values 2018-08-09 18:15:46 +03:00
driver_gpio.c ssb: gpio: Fix alignment of comment 2021-06-15 13:09:06 +03:00
driver_mipscore.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
driver_pcicore.c ssb: pcicore: Fix indentation of comment 2021-06-15 13:09:30 +03:00
embedded.c ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
host_soc.c ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
main.c ssb: Remove redundant assignment to err 2021-06-15 13:10:16 +03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
pci.c ssb: Remove meaningless jump label to simplify the code 2020-09-21 16:01:35 +03:00
pcihost_wrapper.c SSB / B44: fix WOL for BCM4401 2014-12-04 11:32:46 -05:00
pcmcia.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
scan.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
sdio.c ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00
sprom.c ssb: Replace HTTP links with HTTPS ones 2020-07-15 19:47:10 +03:00
ssb_private.h ssb: Remove SSB_WARN_ON, SSB_BUG_ON and SSB_DEBUG 2018-08-09 18:47:47 +03:00