ntfs: remove (un)?likely() from IS_ERR() conditions
authorDenis Efremov <efremov@linux.com>
Wed, 25 Sep 2019 23:49:43 +0000 (16:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 Sep 2019 17:10:44 +0000 (10:10 -0700)
commitcc22c800e15b03c87f0e97400f75eba998e75c6a
tree437eeb0056fa689d9ea01d82f1ae7254e1e85264
parent7b0b69259433fc1758408a899224db4fcc41b865
ntfs: remove (un)?likely() from IS_ERR() conditions

"likely(!IS_ERR(x))" is excessive. IS_ERR() already uses
unlikely() internally.

Link: http://lkml.kernel.org/r/20190829165025.15750-11-efremov@linux.com
Signed-off-by: Denis Efremov <efremov@linux.com>
Cc: Anton Altaparmakov <anton@tuxera.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/ntfs/mft.c
fs/ntfs/namei.c
fs/ntfs/runlist.c
fs/ntfs/super.c