]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb0b6c3ad6df7929c3c58c5c6e947a547b050f8be
treeb3abca44d6bdaa3760099bc4be4f7140ca5db82f
parent0c2f39180afd41640baf498e7de7fd9847fd9bc1
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