summaryrefslogtreecommitdiffstats
path: root/drivers/staging/hv/logging.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2010-07-23 00:14:04 +0200
committerGreg Kroah-Hartman2010-07-23 00:14:04 +0200
commit83c720ea395c4ee725e1035cbcda809794b46091 (patch)
treeba683a1eef41cfca86286a2d81d49068ac12d478 /drivers/staging/hv/logging.h
parentStaging: hv: remove DPRINT_ENTER macro (diff)
downloadkernel-qcow2-linux-83c720ea395c4ee725e1035cbcda809794b46091.tar.gz
kernel-qcow2-linux-83c720ea395c4ee725e1035cbcda809794b46091.tar.xz
kernel-qcow2-linux-83c720ea395c4ee725e1035cbcda809794b46091.zip
Staging: hv: remove DPRINT_EXIT macro
No need for it, use the built-in kernel function tracing instead if you really need something like 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.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/hv/logging.h b/drivers/staging/hv/logging.h
index 090cda7d027e..20d4d12023de 100644
--- a/drivers/staging/hv/logging.h
+++ b/drivers/staging/hv/logging.h
@@ -92,14 +92,4 @@ extern unsigned int vmbus_loglevel;
__func__, ## args);\
} while (0)
-#ifdef DEBUG
-#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_EXIT(mod)
-#endif
-
#endif /* _LOGGING_H_ */