Skip to content
Commit 1dc13236 authored by Jinpeng Cui's avatar Jinpeng Cui Committed by Kalle Valo
Browse files

wifi: wilc1000: remove redundant ret variable



Return value from cfg80211_rx_mgmt() directly instead of
taking this in another redundant variable.

Reported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarJinpeng Cui <cui.jinpeng2@zte.com.cn>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20220830105505.287564-1-cui.jinpeng2@zte.com.cn
parent b0ea758b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment