summaryrefslogtreecommitdiffstats
path: root/include/linux/rtnetlink.h
diff options
context:
space:
mode:
authorIlpo Järvinen <ilpo.jarvinen@helsinki.fi>2008-07-25 21:45:49 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-25 21:45:49 -0700
commitec34c702ca8b7d6f0aa54379c3b0d0ec10b8ff23 (patch)
tree02caab5a2804a4064dd346b7d3c5202d6883fa77 /include/linux/rtnetlink.h
parent547b792cac0a038b9dbf958d3c120df3740b5572 (diff)
downloadkernel-crypto-ec34c702ca8b7d6f0aa54379c3b0d0ec10b8ff23.tar.gz
kernel-crypto-ec34c702ca8b7d6f0aa54379c3b0d0ec10b8ff23.tar.xz
kernel-crypto-ec34c702ca8b7d6f0aa54379c3b0d0ec10b8ff23.zip
net: drop unused BUG_TRAP()
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/rtnetlink.h')
-rw-r--r--include/linux/rtnetlink.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h
index f4d386c191f..ca643b13b02 100644
--- 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]);