OSDN Git Service

staging: rtl8188eu: remove redundant assignment to cond
authorColin Ian King <colin.king@canonical.com>
Sun, 23 Feb 2020 15:18:58 +0000 (15:18 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 23 Feb 2020 18:20:49 +0000 (19:20 +0100)
commit49ad571f70b36be713d73e16d20a1ba1765439e0
tree690b45f31bc95ff4a6f5d3e890604c1366c65690
parent5a436cb13476133a1d0a9b0258da1e982796ce99
staging: rtl8188eu: remove redundant assignment to cond

Variable cond is initialized to a value that is never read and it
is re-assigned later. The initialization is redundant and can be
removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20200223151858.416499-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rf_cfg.c