rtlwifi: rtl8188ee: remove redundant assignment to variable cond
Variable cond is being assigned with a value that is never read, it is assigned a new value later on. The assignment is redundant and can be removed. Addresses-Coverity: ("Unused value") Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
ed7791d9d0
commit
c3a913357c
@ -264,7 +264,7 @@ static bool _rtl88e_check_condition(struct ieee80211_hw *hw,
|
||||
u32 _board = rtlefuse->board_type; /*need efuse define*/
|
||||
u32 _interface = rtlhal->interface;
|
||||
u32 _platform = 0x08;/*SupportPlatform */
|
||||
u32 cond = condition;
|
||||
u32 cond;
|
||||
|
||||
if (condition == 0xCDCDCDCD)
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user