remove ASSERT macro that is not used anymore in blkback.
authorvhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com>
Mon, 16 Jan 2006 21:29:10 +0000 (21:29 +0000)
committervhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com>
Mon, 16 Jan 2006 21:29:10 +0000 (21:29 +0000)
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
linux-2.6-xen-sparse/drivers/xen/blkback/common.h

index df0a1553bfe2c6683b25d52bfcebd247d1e4723b..406e6d94706e7e7091762ec38baaa731d001f750 100644 (file)
 #include <asm-xen/driver_util.h>
 
 #if 0
-#define ASSERT(_p) \
-    if ( !(_p) ) { printk("Assertion '%s' failed, line %d, file %s", #_p , \
-    __LINE__, __FILE__); *(int*)0=0; }
 #define DPRINTK(_f, _a...) printk(KERN_ALERT "(file=%s, line=%d) " _f, \
                            __FILE__ , __LINE__ , ## _a )
 #else
-#define ASSERT(_p) ((void)0)
 #define DPRINTK(_f, _a...) ((void)0)
 #endif