mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
staging: rtl8188eu: remove redundant assignment to variable rtstatus
Variable rtstatus is being initialized with a value that is never read
and rtstatus is being re-assigned a little later on. The assignment is
redundant and hence can be removed. Also, make rtstatus a bool to
match the function return type.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20190731094736.28637-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f7d120d9e0
commit
9ba2986ff5
1 changed files with 1 additions and 1 deletions
|
|
@ -653,7 +653,7 @@ static bool config_parafile(struct adapter *adapt)
|
|||
|
||||
bool rtl88eu_phy_bb_config(struct adapter *adapt)
|
||||
{
|
||||
int rtstatus = true;
|
||||
bool rtstatus;
|
||||
u32 regval;
|
||||
u8 crystal_cap;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue