xfs: remove unlikely() from WARN_ON() condition
authorDenis Efremov <efremov@linux.com>
Wed, 25 Sep 2019 23:49:37 +0000 (16:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 Sep 2019 17:10:30 +0000 (10:10 -0700)
commit14ed8688074ad7ba62d460ab87da841fa5407285
tree0aa29ee269f0a0cff1502683a58dd7089312ef1c
parent77c0e745bd11fc1ccc4690409eca92ea07200141
xfs: remove unlikely() from WARN_ON() condition

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

Link: http://lkml.kernel.org/r/20190829165025.15750-7-efremov@linux.com
Signed-off-by: Denis Efremov <efremov@linux.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/xfs/xfs_buf.c