Staging: rt3070: 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:
Bartlomiej Zolnierkiewicz 2009-04-26 16:06:11 +02:00 committed by Greg Kroah-Hartman
parent c03332c54c
commit 2ed0b7ec56

View file

@ -183,13 +183,7 @@ typedef struct _VIRTUAL_ADAPTER
} VIRTUAL_ADAPTER, PVIRTUAL_ADAPTER; } VIRTUAL_ADAPTER, PVIRTUAL_ADAPTER;
#undef ASSERT #undef ASSERT
#define ASSERT(x) \ #define ASSERT(x)
{ \
if (!(x)) \
{ \
printk(KERN_WARNING __FILE__ ":%d assert " #x "failed\n", __LINE__); \
} \
}
typedef struct os_cookie * POS_COOKIE; typedef struct os_cookie * POS_COOKIE;
typedef struct pci_dev * PPCI_DEV; typedef struct pci_dev * PPCI_DEV;