net: Remove unlikely() for WARN_ON() conditions
authorThomas Graf <tgraf@suug.ch>
Wed, 30 Jul 2014 00:31:08 +0000 (02:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jul 2014 00:41:47 +0000 (17:41 -0700)
commit80019d310f9fb4f8c9eeda0a5d76144ad3132fdf
treeb3abca44d6bdaa3760099bc4be4f7140ca5db82f
parent16eecd9be4b05e3216b8b12707aa6f51fb197903
net: Remove unlikely() for WARN_ON() conditions

No need for the unlikely(), WARN_ON() and BUG_ON() internally use
unlikely() on the condition.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c
net/openvswitch/datapath.h