staging: brcm80211: remove #ifdef BCMDBG from regular functions
authorArend van Spriel <arend@broadcom.com>
Thu, 10 Feb 2011 14:27:45 +0000 (15:27 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Feb 2011 20:55:24 +0000 (12:55 -0800)
commitbc042b67261043a93cfe2f311ffe5568a0b29017
treeaf2f2aad32a2d1606ceb2951966dab12a8e6fb98
parent77919fd72e96cb75ed1b3fc0921a6b5cef5f8042
staging: brcm80211: remove #ifdef BCMDBG from regular functions

Under error condition debug functions are being called which
only have implementation when BCMDBG is defined. This result
in #ifdef BCMDBG blocks in functions. This patch fixes this by
mapping the debug functions to empty macro when BCMDBG is not
defined. This makes the calling function easier to read.

Reviewed-by: Brett Rudley <brudley@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmsmac/wlc_ampdu.c
drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c
drivers/staging/brcm80211/brcmsmac/wlc_mac80211.h
drivers/staging/brcm80211/include/bcmutils.h