From: Bartlomiej Zolnierkiewicz Date: Sun, 26 Apr 2009 14:06:11 +0000 (+0200) Subject: Staging: rt3070: use empty ASSERT() macro X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2ed0b7ec56a619d53f5ad9b38105144dd75351ce;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: rt3070: use empty ASSERT() macro Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rt3070/rt_linux.h b/drivers/staging/rt3070/rt_linux.h index d2a1b9728a90..d9d16cf8fb22 100644 --- a/drivers/staging/rt3070/rt_linux.h +++ b/drivers/staging/rt3070/rt_linux.h @@ -183,13 +183,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;