]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
IPoIB: Rewrite "if (!likely(...))" as "if (unlikely(!(...)))"
authorRoland Dreier <rolandd@cisco.com>
Thu, 18 Oct 2007 04:54:44 +0000 (21:54 -0700)
committerRoland Dreier <rolandd@cisco.com>
Thu, 18 Oct 2007 04:54:44 +0000 (21:54 -0700)
commitfd312561adcc90e924f35d3032d5493aeb4c3017
tree5a69996b93124a8beeb589007324a8a33a7c2fa8
parent8da9ee9c1ec9036d8fad82f6ddbc4d15143cc6ca
IPoIB: Rewrite "if (!likely(...))" as "if (unlikely(!(...)))"

It's too hard to figure out what "!likely(...)" really means, and who
knows how compilers interpret the hint.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_cm.c