summaryrefslogtreecommitdiff
path: root/drivers/staging/wlan-ng/wlan_compat.h
diff options
context:
space:
mode:
authorMoritz Muehlenhoff <jmm@debian.org>2009-01-21 21:00:44 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 21:53:17 (GMT)
commit8a251b55ef34c2a03e8ddf6d17bb125b92bb4a54 (patch)
tree3ccdad3bb52faeb471d4f68088d053075ec29b33 /drivers/staging/wlan-ng/wlan_compat.h
parent1f61379e82ab9319b99eb94963325ec766bcd752 (diff)
downloadlinux-fsl-qoriq-8a251b55ef34c2a03e8ddf6d17bb125b92bb4a54.tar.xz
Staging: wlan-ng: Remove DBFENTER/DBFEXIT macros
Remove the ugly DBFENTER/DBFEXIT macros, which are only inserted to add "<---" and "--->" at the function start/end at higher debug levels and which make the code a lot less readable. Signed-off-by: Moritz Muehlenhoff <jmm@debian.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/wlan-ng/wlan_compat.h')
-rw-r--r--drivers/staging/wlan-ng/wlan_compat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/wlan-ng/wlan_compat.h b/drivers/staging/wlan-ng/wlan_compat.h
index a331d69..0c85235 100644
--- a/drivers/staging/wlan-ng/wlan_compat.h
+++ b/drivers/staging/wlan-ng/wlan_compat.h
@@ -110,14 +110,10 @@
for( __i__=0; __i__ < (n); __i__++) \
printk( " %02x", ((u8*)(p))[__i__]); \
printk("\n"); }
- #define DBFENTER { if ( WLAN_DBVAR >= 5 ){ WLAN_LOG_DEBUG(3,"---->\n"); } }
- #define DBFEXIT { if ( WLAN_DBVAR >= 5 ){ WLAN_LOG_DEBUG(3,"<----\n"); } }
#define WLAN_LOG_DEBUG(l,x,args...) if ( WLAN_DBVAR >= (l)) printk(KERN_DEBUG "%s(%lu): " x , __func__, (preempt_count() & PREEMPT_MASK), ##args );
#else
#define WLAN_HEX_DUMP( l, s, p, n)
- #define DBFENTER
- #define DBFEXIT
#define WLAN_LOG_DEBUG(l, s, args...)
#endif