linux/drivers/staging/wilc1000
Colin Ian King bc7d21ca2c staging: wilc1000: replace redundant computations with 0
Shifting and masking strHostIfSetMulti->enabled is redundant since
enabled is a bool and so all the shifted and masked values will be
zero. Replace them with zero to simplify the code.

Detected by CoverityScan, CID#1339458 ("Bad shift operation") and
CID#1339506 ("Operands don't affect result").

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-10-18 16:42:28 +02:00
..
coreconfigurator.c Staging: wilc1000: Compress return logic into one line 2016-10-16 10:27:34 +02:00
coreconfigurator.h staging: wilc1000: Fixes camel-casing in wilc_gnrl_info_received 2017-03-09 14:52:22 +01:00
host_interface.c staging: wilc1000: replace redundant computations with 0 2017-10-18 16:42:28 +02:00
host_interface.h staging/wilc1000: Convert timers to use timer_setup() 2017-10-18 16:18:31 +02:00
Kconfig
linux_mon.c networking: make skb_push & __skb_push return void pointers 2017-06-16 11:48:40 -04:00
linux_wlan.c staging: wilc1000: fix spelling mistake: "Iinitialization" -> "initialization" 2017-07-30 08:28:21 -07:00
Makefile
TODO drivers: wilc1000: remove references to semaphores 2016-08-21 17:27:16 +02:00
wilc_debugfs.c staging: wilc1000: Fixing struct definition layout 2017-05-15 07:41:58 +02:00
wilc_sdio.c drivers/staging/wilc1000: Removing explicit function tracing using dev_dbg/info 2017-03-29 09:37:14 +02:00
wilc_spi.c staging: wilc1000: Remove unnecessary brackets 2017-03-16 11:47:41 +09:00
wilc_wfi_cfgoperations.c staging/wilc1000: Convert timers to use timer_setup() 2017-10-18 16:18:31 +02:00
wilc_wfi_cfgoperations.h
wilc_wfi_netdevice.h staging: wilc1000: add parameter name to function definition 2017-07-16 08:40:58 +02:00
wilc_wlan_cfg.c staging: wilc1000: Use new format for configuring firmware 2017-04-08 13:00:43 +02:00
wilc_wlan_cfg.h
wilc_wlan_if.h staging: wilc1000: New cfg packet format in handle_set_wfi_drv_handler 2017-06-13 12:06:57 +02:00
wilc_wlan.c staging: wilc1000: Alignment should match open parenthesis 2017-03-07 06:53:30 +01:00
wilc_wlan.h staging: wilc1000: function prototype argument should have identifier name 2017-03-07 06:53:30 +01:00