]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit44b33e266bc062cb894b2181568366436950c299
tree6174ed7f664a8160a791437eb16f27c4025835b0
parent143adf122ab14152a79cebd60133fbc8cf1a6492
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