staging: rtl8192u: remove redundant initialization of 'timeout'
authorColin Ian King <colin.king@canonical.com>
Mon, 22 Jan 2018 15:57:30 +0000 (15:57 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jan 2018 10:42:03 +0000 (11:42 +0100)
commitf93a2b8b161c7a41dfd844c025b89938415a503c
treef202819cfe64982dd6429e1ec35c3dff03c1e5fb
parent0d8e205d7aed80d0c88f124bde32632e5623b025
staging: rtl8192u: remove redundant initialization of 'timeout'

Variable timeout is initialized however this value is never read and
it is reassigned a new value a little later, hence the initialization
is redundant and can be removed.

Cleans up clang warning:
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:1728: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>
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c