Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec34c702 authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by David S. Miller
Browse files

net: drop unused BUG_TRAP()

parent 547b792c
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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]);