Commit ec34c702ca8b7d6f0aa54379c3b0d0ec10b8ff23

Authored by Ilpo Järvinen
Committed by David S. Miller
1 parent 547b792cac

net: drop unused BUG_TRAP()

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 0 additions and 7 deletions Side-by-side Diff

include/linux/rtnetlink.h
... ... @@ -755,13 +755,6 @@
755 755 } \
756 756 } while(0)
757 757  
758   -#define BUG_TRAP(x) do { \
759   - if (unlikely(!(x))) { \
760   - printk(KERN_ERR "KERNEL: assertion (%s) failed at %s (%d)\n", \
761   - #x, __FILE__ , __LINE__); \
762   - } \
763   -} while(0)
764   -
765 758 static inline u32 rtm_get_table(struct rtattr **rta, u8 table)
766 759 {
767 760 return RTA_GET_U32(rta[RTA_TABLE-1]);