xen/events: remove unlikely() from WARN() condition
authorDenis Efremov <efremov@linux.com>
Wed, 25 Sep 2019 23:49:28 +0000 (16:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 Sep 2019 17:10:17 +0000 (10:10 -0700)
commit89f403541325181748b491fd96118e68292f47e1
tree8150bf03f12815af17b5fc0de9852f84ce5e77b0
parentde3f186f87cf15bed8d13fedafb5bcad0167fc6d
xen/events: remove unlikely() from WARN() condition

"unlikely(WARN(x))" is excessive. WARN() already uses unlikely()
internally.

Link: http://lkml.kernel.org/r/20190829165025.15750-4-efremov@linux.com
Signed-off-by: Denis Efremov <efremov@linux.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Joe Perches <joe@perches.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/xen/events/events_base.c