projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
547b792
)
net: drop unused BUG_TRAP()
author
Ilpo Järvinen
<ilpo.jarvinen@helsinki.fi>
Sat, 26 Jul 2008 04:45:49 +0000
(21:45 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 26 Jul 2008 04:45:49 +0000
(21:45 -0700)
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rtnetlink.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/rtnetlink.h
b/include/linux/rtnetlink.h
index f4d386c191f587507dac62b17de0ea26cfe3fbee..ca643b13b02635bfd33bae20588418ca52ff3f3b 100644
(file)
--- a/
include/linux/rtnetlink.h
+++ b/
include/linux/rtnetlink.h
@@
-755,13
+755,6
@@
extern void __rtnl_unlock(void);
} \
} while(0)
-#define BUG_TRAP(x) do { \
- if (unlikely(!(x))) { \
- printk(KERN_ERR "KERNEL: assertion (%s) failed at %s (%d)\n", \
- #x, __FILE__ , __LINE__); \
- } \
-} while(0)
-
static inline u32 rtm_get_table(struct rtattr **rta, u8 table)
{
return RTA_GET_U32(rta[RTA_TABLE-1]);