linux/drivers/staging/rtl8723bs
Colin Ian King c5f6911752 staging: rtl8723bs: remove a couple of redundant initializations
The initialization of PwrCfgCmd is redundant as the value is never read
and it is being re-assigned to PwrSeqCmd[AryIdx] inside a loop, hence
it can be removed.  Also, the initialization of ie_ptr is redundant as
the value is never read and it is being re-assigned in either path of
an if statement, hence it can be removed too.

Cleans up clang warnings:
drivers/staging/rtl8723bs/hal/HalPwrSeqCmd.c:53:15: warning: Value
stored to 'PwrCfgCmd' during its initialization is never read
drivers/staging/rtl8723bs/os_dep/ioctl_linux.c:374:7: warning: Value
stored to 'ie_ptr' 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
..
core Staging: rtl8723bs: Do not check for NOT NULL before kfree() 2017-12-21 18:22:07 +01:00
hal staging: rtl8723bs: remove a couple of redundant initializations 2018-01-26 15:08:43 +01:00
include Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
os_dep staging: rtl8723bs: remove a couple of redundant initializations 2018-01-26 15:08:43 +01:00
Kconfig
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
TODO