diff options
author | Greg Kroah-Hartman | 2010-07-23 00:00:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-07-23 00:00:18 +0200 |
commit | 2acadc269fa1957438e64684460c27a33e6d2b08 (patch) | |
tree | 350a72c8ff7adc513d3d6d1bb1a7c1fa3ae37661 /drivers/staging/hv/logging.h | |
parent | Staging: dt3155: don't use default init_module/cleanup_module function names (diff) | |
download | kernel-qcow2-linux-2acadc269fa1957438e64684460c27a33e6d2b08.tar.gz kernel-qcow2-linux-2acadc269fa1957438e64684460c27a33e6d2b08.tar.xz kernel-qcow2-linux-2acadc269fa1957438e64684460c27a33e6d2b08.zip |
Staging: hv: remove DPRINT_ENTER macro
We have ftrace to look at function traces if its really
needed. Don't roll custom macros for this.
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/logging.h')
-rw-r--r-- | drivers/staging/hv/logging.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/hv/logging.h b/drivers/staging/hv/logging.h index ad4cfcfb7b11..090cda7d027e 100644 --- a/drivers/staging/hv/logging.h +++ b/drivers/staging/hv/logging.h @@ -93,19 +93,12 @@ extern unsigned int vmbus_loglevel; } while (0) #ifdef DEBUG -#define DPRINT_ENTER(mod) do {\ - if ((mod & (HIWORD(vmbus_loglevel))) && \ - (DEBUG_LVL_ENTEREXIT <= LOWORD(vmbus_loglevel))) \ - printk(KERN_DEBUG "["#mod"]: %s() enter\n", __func__);\ - } while (0) - #define DPRINT_EXIT(mod) do {\ if ((mod & (HIWORD(vmbus_loglevel))) && \ (DEBUG_LVL_ENTEREXIT <= LOWORD(vmbus_loglevel))) \ printk(KERN_DEBUG "["#mod"]: %s() exit\n", __func__);\ } while (0) #else -#define DPRINT_ENTER(mod) #define DPRINT_EXIT(mod) #endif |