staging: rtl8188eu: remove redundant assignment to rtstatus
Variable rtstatus 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/20190726124803.11349-1-colin.king@canonical.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
91e590851f
commit
36475456f3
|
@ -222,7 +222,7 @@ bool rtl88eu_phy_rf_config(struct adapter *adapt)
|
|||
{
|
||||
struct hal_data_8188e *hal_data = adapt->HalData;
|
||||
u32 u4val = 0;
|
||||
bool rtstatus = true;
|
||||
bool rtstatus;
|
||||
struct bb_reg_def *pphyreg;
|
||||
|
||||
pphyreg = &hal_data->PHYRegDef[RF90_PATH_A];
|
||||
|
|
Loading…
Reference in New Issue