staging: rtl8188eu: remove redundant initialization of 'pwrcfgcmd'
authorColin Ian King <colin.king@canonical.com>
Tue, 23 Jan 2018 11:20:01 +0000 (11:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jan 2018 12:11:33 +0000 (13:11 +0100)
commit650655d3c8955aaeb220601e903dcfbcbf650d08
tree8408c3ad0d2d7ff62c325f8596b25f5beaeed4eb
parentdbff176ac7aaf6085f8f5ac8a4bdea3e15e069b6
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>
drivers/staging/rtl8188eu/hal/pwrseqcmd.c