ia64/xen-unstable

changeset 8615:7ef28da1d777

remove ASSERT macro that is not used anymore in blkback.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
author vhanquez@kneesa.uk.xensource.com
date Mon Jan 16 21:29:10 2006 +0000 (2006-01-16)
parents bd606783c6bf
children 7eaa8d1a4ea0
files linux-2.6-xen-sparse/drivers/xen/blkback/common.h
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/blkback/common.h	Mon Jan 16 21:13:29 2006 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/blkback/common.h	Mon Jan 16 21:29:10 2006 +0000
     1.3 @@ -20,13 +20,9 @@
     1.4  #include <asm-xen/driver_util.h>
     1.5  
     1.6  #if 0
     1.7 -#define ASSERT(_p) \
     1.8 -    if ( !(_p) ) { printk("Assertion '%s' failed, line %d, file %s", #_p , \
     1.9 -    __LINE__, __FILE__); *(int*)0=0; }
    1.10  #define DPRINTK(_f, _a...) printk(KERN_ALERT "(file=%s, line=%d) " _f, \
    1.11                             __FILE__ , __LINE__ , ## _a )
    1.12  #else
    1.13 -#define ASSERT(_p) ((void)0)
    1.14  #define DPRINTK(_f, _a...) ((void)0)
    1.15  #endif
    1.16