]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf319fea02ee75930eecfa2992cded05182746b72
tree437eeb0056fa689d9ea01d82f1ae7254e1e85264
parent2bd7ca07d84d580ec666bc2d0df1a2e8261b5e43
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