1
0
Fork 0
alistair23-linux/drivers/staging/rtl8188eu
Colin Ian King 650655d3c8 staging: rtl8188eu: remove redundant initialization of 'pwrcfgcmd'
Structure pwrcfgcmd is being zero'd at initialization however this
value is never read as few statements later in a loop it is being
assigned a new value, hence the initialization is redundant and
can be removed.

Cleans up clang warning:
drivers/staging/rtl8188eu/hal/pwrseqcmd.c:25:20: warning: Value stored
to 'pwrcfgcmd' 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-25 13:11:33 +01:00
..
core rtl8188eu: Fix a possible sleep-in-atomic bug in set_tx_beacon_cmd 2017-12-13 12:48:46 +01:00
hal staging: rtl8188eu: remove redundant initialization of 'pwrcfgcmd' 2018-01-25 13:11:33 +01:00
include Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
os_dep staging: rtl8188eu: Fix incorrect response to SIOCGIWESSID 2017-11-28 14:36:45 +01:00
Kconfig staging: rtl8188eu: force driver to be built as a module 2017-04-11 15:59:33 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
TODO staging: rtl8*: fix my email address up 2016-02-11 19:33:46 -08:00