wifi: nl80211: remove redundant err variable
authorJinpeng Cui <cui.jinpeng2@zte.com.cn>
Mon, 29 Aug 2022 11:29:53 +0000 (11:29 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Sat, 3 Sep 2022 15:01:09 +0000 (17:01 +0200)
commita21cd7d63be70f55b3c66d00dfa8d0138446c8ff
tree6174ed7f664a8160a791437eb16f27c4025835b0
parent3c06e91b40db6db48c4886b0292983f404d31958
wifi: nl80211: remove redundant err variable

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

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Jinpeng Cui <cui.jinpeng2@zte.com.cn>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c