Skip to content

Commit

Permalink
exofs: Remove redundant unlikely()
Browse files Browse the repository at this point in the history
IS_ERR() already implies unlikely(), so it can be omitted here.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
  • Loading branch information
Tobias Klauser authored and Boaz Harrosh committed Mar 15, 2011
1 parent 521cb40 commit 2c722c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/exofs/super.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ static int exofs_read_lookup_dev_table(struct exofs_sb_info **psbi,
}

od = osduld_info_lookup(&odi);
if (unlikely(IS_ERR(od))) {
if (IS_ERR(od)) {
ret = PTR_ERR(od);
EXOFS_ERR("ERROR: device requested is not found "
"osd_name-%s =>%d\n", odi.osdname, ret);
Expand Down

0 comments on commit 2c722c9

Please sign in to comment.