From: Ilpo Järvinen Date: Sat, 26 Jul 2008 04:45:49 +0000 (-0700) Subject: net: drop unused BUG_TRAP() X-Git-Tag: v2.6.27-rc1~75^2~10 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec34c702ca8b7d6f0aa54379c3b0d0ec10b8ff23;p=linux-2.6 net: drop unused BUG_TRAP() Signed-off-by: Ilpo Järvinen Signed-off-by: David S. Miller --- diff --git a/include/linux/rtnetlink.h b/include/linux/rtnetlink.h index f4d386c191..ca643b13b0 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]);