Skip to content

Commit fd127b1

Browse files
KunWuChanakpm00
authored andcommitted
nilfs2: remove duplicate 'unlikely()' usage
Nested unlikely() calls, IS_ERR already uses unlikely() internally Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Kunwu Chan <[email protected]> Signed-off-by: Ryusuke Konishi <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent f9c9635 commit fd127b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/nilfs2/page.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ int nilfs_copy_dirty_pages(struct address_space *dmap,
262262
NILFS_FOLIO_BUG(folio, "inconsistent dirty state");
263263

264264
dfolio = filemap_grab_folio(dmap, folio->index);
265-
if (unlikely(IS_ERR(dfolio))) {
265+
if (IS_ERR(dfolio)) {
266266
/* No empty page is added to the page cache */
267267
folio_unlock(folio);
268268
err = PTR_ERR(dfolio);

0 commit comments

Comments
 (0)