linux/drivers/staging/rtl8192e
Colin Ian King 783778e38e staging: rtl8192e: remove two redundant assignments
Clang detected two redundant assignments that can be safely removed.
The first is the removal of the duplicated assignment to pointer 'hdr',
this has already been initialized with the same value.  The second is
the removal of the redundant initialization of variable 'timeout', this
assigned value is never read and the variable is reassigned a new value
a little later.

Remove both redundant assignments, cleans up clang warnings:
drivers/staging/rtl8192e/rtllib_rx.c:1305:27: warning: Value stored to
'hdr' during its initialization is never read
drivers/staging/rtl8192e/rtllib_softmac.c:1971:6: warning: Value stored
to 'timeout' 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-22 11:48:06 +01:00
..
rtl8192e Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
dot11d.c staging: rtl8192e: Use __func__ instead of function name 2017-10-18 15:44:39 +02:00
dot11d.h staging: rtl8192e: all lines in dot11d.h are less than 80 chars long 2017-06-04 10:17:42 +02:00
Kconfig
license
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rtl819x_BA.h Staging: rtl8192e - fixed style of block comments 2017-03-23 14:28:47 +01:00
rtl819x_BAProc.c staging: rtl8192e: Convert timers to use timer_setup() 2017-10-18 15:44:39 +02:00
rtl819x_HT.h Staging: rtl8192e - fixed style of block comments 2017-03-23 14:28:47 +01:00
rtl819x_HTProc.c staging: rtl8192e: HTSetConnectBwMode message replace with debug. 2017-05-15 13:29:01 +02:00
rtl819x_Qos.h Staging: rtl8192e - fixed style of block comments 2017-03-23 14:28:47 +01:00
rtl819x_TS.h Staging: rtl8192e - fixed style of block comments 2017-03-23 14:28:47 +01:00
rtl819x_TSProc.c staging: rtl8192e: Convert timers to use timer_setup() 2017-10-18 15:44:39 +02:00
rtllib_crypt_ccmp.c
rtllib_crypt_tkip.c
rtllib_crypt_wep.c
rtllib_debug.h Staging: rtl8192e - fixed style of block comments 2017-03-23 14:28:47 +01:00
rtllib_module.c Staging: rtl8192e - fixed style of block comments 2017-03-23 14:28:47 +01:00
rtllib_rx.c staging: rtl8192e: remove two redundant assignments 2018-01-22 11:48:06 +01:00
rtllib_softmac_wx.c
rtllib_softmac.c staging: rtl8192e: remove two redundant assignments 2018-01-22 11:48:06 +01:00
rtllib_tx.c networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
rtllib_wx.c staging: rtl8192e: mark expected switch fall-through 2017-10-18 15:44:39 +02:00
rtllib.h staging: rtl8192e: Convert timers to use timer_setup() 2017-10-18 15:44:39 +02:00
TODO