]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
staging: brcm80211: cleanup of softmac macro EDCF_ENAB()
authorRoland Vossen <rvossen@broadcom.com>
Tue, 13 Sep 2011 07:49:46 +0000 (09:49 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Sep 2011 18:41:52 +0000 (20:41 +0200)
commit00cf25ae119cb623583c33d61050bc7537335ac6
treee921a567c97de545a44ddea4d7afce07fa2b60f0
parent11de5b72cab5e14bef71ab2dde75d7278a90e38f
staging: brcm80211: cleanup of softmac macro EDCF_ENAB()

Since structure member pub->_wme is set to AUTO early in init, macro
EDCF_ENAB is always 'true' after that. All code that uses ECDF_ENAB()
appears in the code flow after the init.

Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/main.c
drivers/staging/brcm80211/brcmsmac/main.h
drivers/staging/brcm80211/brcmsmac/pub.h
drivers/staging/brcm80211/brcmsmac/scb.h