OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c03332c
)
Staging: rt3070: use empty ASSERT() macro
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Sun, 26 Apr 2009 14:06:11 +0000
(16:06 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 19 Jun 2009 18:00:49 +0000
(11:00 -0700)
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rt3070/rt_linux.h
patch
|
blob
|
history
diff --git
a/drivers/staging/rt3070/rt_linux.h
b/drivers/staging/rt3070/rt_linux.h
index
d2a1b97
..
d9d16cf
100644
(file)
--- 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;