From: Bill Pemberton <[email protected]>

ASSERT is no longer used in hv, so remove the define

Signed-off-by: Bill Pemberton <[email protected]>
Cc: Hank Janssen <[email protected]>
Cc: Haiyang Zhang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
 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 9e55617..ad4cfcf 100644
--- a/drivers/staging/hv/logging.h
+++ b/drivers/staging/hv/logging.h
@@ -61,13 +61,6 @@
 
 extern unsigned int vmbus_loglevel;
 
-#define ASSERT(expr)   \
-       if (!(expr)) {  \
-               printk(KERN_CRIT "Assertion failed! %s,%s,%s,line=%d\n", \
-                      #expr, __FILE__, __func__, __LINE__);    \
-               __asm__ __volatile__("int3");   \
-       }
-
 #define DPRINT(mod, lvl, fmt, args...) do {\
        if ((mod & (HIWORD(vmbus_loglevel))) && \
            (lvl <= LOWORD(vmbus_loglevel)))    \
-- 
1.7.0.3

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to