linux-hardened/drivers/staging/rtlwifi
Colin Ian King 3384e01179 staging: rtlwifi: remove redundant initialization of 'cfg_cmd'
The initialization of cfg_cmd is redundant as the value is never read
and it is being re-assigned to cfg_cmd = pwrcfgcmd[ary_idx] inside a
loop, hence it can be removed.

Cleans up clang warning:
drivers/staging/rtlwifi/core.c:1819:22: warning: Value stored to
'cfg_cmd' during its initialization is never read

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-26 15:08:43 +01:00
..
btcoexist Staging: rtlwifi: Remove unused variable and the code 2018-01-08 16:45:45 +01:00
halmac staging: r8822be: mark expected switch fall-throughs 2017-10-18 16:21:26 +02:00
phydm staging: rtlwifi: phydm: Remove useless parentheses 2017-10-18 15:53:50 +02:00
rtl8822be staging: rtl8822be: fix missing null check on dev_alloc_skb return 2017-11-28 14:20:50 +01:00
base.c staging: rtlwifi: Remove unused variable 2017-11-03 12:48:56 +01:00
base.h staging: rtlwifi: Convert timers to use timer_setup() 2017-10-18 15:52:39 +02:00
cam.c staging: rtlwifi: remove redundant assignments to ul_enc_algo 2017-11-27 09:20:40 +01:00
cam.h
core.c staging: rtlwifi: remove redundant initialization of 'cfg_cmd' 2018-01-26 15:08:43 +01:00
core.h staging: rtlwifi: remove unused functions 2017-09-17 16:35:26 +02:00
debug.c staging: rtlwifi: Remove unnecessary parentheses 2017-10-18 15:53:50 +02:00
debug.h
efuse.c staging: rtlwifi: use kcalloc instead of multiply 2017-09-17 16:35:26 +02:00
efuse.h
Kconfig staging: rtlwifi: remove unused RTLHALMAC_ST and RTLPHYDM_ST 2018-01-25 13:11:32 +01:00
Makefile staging: r8822be: Add Makefiles and Kconfig for new driver 2017-08-20 11:13:12 -07:00
pci.c Staging: rtlwifi: pci: fixed a coding style issue 2017-11-03 12:48:55 +01:00
pci.h
ps.c staging: rtlwifi: Convert timers to use timer_setup() 2017-10-18 15:52:39 +02:00
ps.h
pwrseqcmd.h
rc.c staging: rtlwifi: Remove unnecessary parentheses 2017-10-18 15:53:50 +02:00
rc.h
regd.c
regd.h
stats.c
stats.h
TODO staging: rtlwifi: Reviewers fixes 2017-08-20 11:13:12 -07:00
wifi.h staging: rtlwifi: rtlwifi: use ktime_get_real_seconds() for suspend time 2017-11-27 09:20:40 +01:00