]> bbs.cooldavid.org Git - net-next-2.6.git/commit
Staging: brcm80211: remove broken MAX() implementation
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Oct 2010 18:39:43 +0000 (11:39 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Oct 2010 18:39:43 +0000 (11:39 -0700)
commit3ea2f4d640479a40847e311282ee73695b6e82cf
tree3aae5722cb9944b014b0181cc5dceac3a32bc8e3
parent7068c2f13983a39a49981891c47c74efb5fb60c7
Staging: brcm80211: remove broken MAX() implementation

Use the kernel-provided version, this one is broken.

Note, there are more compiler warnings now, that's due to different
types being compared, which shows how the original macro was wrong in at
least one way.  They need to be fixed up.

Cc: Brett Rudley <brudley@broadcom.com>
Cc: Henry Ptasinski <henryp@broadcom.com>
Cc: Nohee Ko <noheek@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
drivers/staging/brcm80211/include/bcmutils.h
drivers/staging/brcm80211/phy/wlc_phy_cmn.c
drivers/staging/brcm80211/phy/wlc_phy_n.c
drivers/staging/brcm80211/sys/wlc_ampdu.c
drivers/staging/brcm80211/sys/wlc_channel.c