mirror of https://gitee.com/openkylin/linux.git
Staging: rt2860: use empty ASSERT() macro
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
993709edbf
commit
9411329dee
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue