From: Bartlomiej Zolnierkiewicz Date: Sun, 26 Apr 2009 14:06:09 +0000 (+0200) Subject: Staging: rt2860: use empty ASSERT() macro X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9411329dee224246240f0349329adc90a3edbbaa;p=sagit-ice-cold%2Fkernel_xiaomi_msm8998.git Staging: rt2860: use empty ASSERT() macro Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rt2860/rt_linux.h b/drivers/staging/rt2860/rt_linux.h index 18cfaff4e90d..9f836779220c 100644 --- a/drivers/staging/rt2860/rt_linux.h +++ b/drivers/staging/rt2860/rt_linux.h @@ -185,13 +185,7 @@ typedef struct _VIRTUAL_ADAPTER } VIRTUAL_ADAPTER, PVIRTUAL_ADAPTER; #undef ASSERT -#define ASSERT(x) \ -{ \ - if (!(x)) \ - { \ - printk(KERN_WARNING __FILE__ ":%d assert " #x "failed\n", __LINE__); \ - } \ -} +#define ASSERT(x) typedef struct os_cookie * POS_COOKIE; typedef struct pci_dev * PPCI_DEV;