staging: rtl8712: remove redundant initialization to 'rfPath'
authorColin Ian King <colin.king@canonical.com>
Sat, 20 Jan 2018 22:31:06 +0000 (22:31 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jan 2018 10:48:05 +0000 (11:48 +0100)
commit6065490a1f227c652b0b84f3c282bb8d2a40e640
tree2bce4617a5390355c0205032ef43ddd5b53f80c0
parent203e2de32b00f321cd4a1ff87386567abb8eed70
staging: rtl8712: remove redundant initialization to 'rfPath'

The value stored to rfPath during initialization is never read, the
following switch statement re-assigns it a new value on all the
case and default paths. Hence the initialization is redundant and
can be removed.

Cleans up clang warning:
drivers/staging/rtl8712/rtl871x_mp.c:544:5: warning: Value stored to
'rfPath' 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/rtl8712/rtl871x_mp.c