linux_dsm_epyc7002/drivers/net/wireless/brcm80211
Rasmus Villemoes e843bb199b net/wireless/brcm80211/brcmfmac: Make return type and name reflect actual semantics
Applying ++ to a bool is equivalent to setting it true, regardless of
its initial value (bools are not uint1_t). Hence the function
wl_get_vif_state_all can only ever return true/false. The only in-tree
caller uses its return value as a boolean. So update its return type,
and since the list traversal and bit testing have no side effects,
just return true immediately. Its return value tells if any vif is in
the specified state, so also rename it to brcmf_get_vif_state_any.

Reviewed-by: Arend van Spriel<arend@broadcom.com>
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-06-25 15:32:47 -04:00
..
brcmfmac net/wireless/brcm80211/brcmfmac: Make return type and name reflect actual semantics 2014-06-25 15:32:47 -04:00
brcmsmac net: wireless: Remove useless return variables 2014-06-19 15:49:11 -04:00
brcmutil brcmutil: assure unused bits are cleared in 11n chanspec 2014-05-29 13:10:25 -04:00
include brcm80211: extend channel conversion functions for 80MHz support 2014-05-13 15:56:49 -04:00
Kconfig Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2013-12-06 09:50:45 -05:00
Makefile