From: vhanquez@kneesa.uk.xensource.com Date: Mon, 16 Jan 2006 21:29:10 +0000 (+0000) Subject: remove ASSERT macro that is not used anymore in blkback. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16541^2~29 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=23a6ea12768c317a0442394d03b13d4ec480ed60;p=xen.git remove ASSERT macro that is not used anymore in blkback. Signed-off-by: Vincent Hanquez --- diff --git a/linux-2.6-xen-sparse/drivers/xen/blkback/common.h b/linux-2.6-xen-sparse/drivers/xen/blkback/common.h index df0a1553bf..406e6d9470 100644 --- a/linux-2.6-xen-sparse/drivers/xen/blkback/common.h +++ b/linux-2.6-xen-sparse/drivers/xen/blkback/common.h @@ -20,13 +20,9 @@ #include #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