]> 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)
commit1225c5368d9611786f989ca4814159c908750094
tree437eeb0056fa689d9ea01d82f1ae7254e1e85264
parent147a80fc87a4019643cb9d88a36c4083df355272
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