summaryrefslogtreecommitdiffstats
path: root/fs/exofs
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-12-09 15:55:21 +0100
committerBoaz Harrosh <bharrosh@panasas.com>2011-03-15 11:33:42 +0100
commit2c722c9a47d1369e2685b85288e78c469a081238 (patch)
tree2acb65a6c2ba1d756b317e6ab7ee9624851b83ed /fs/exofs
parentLinux 2.6.38 (diff)
downloadlinux-2c722c9a47d1369e2685b85288e78c469a081238.tar.xz
linux-2c722c9a47d1369e2685b85288e78c469a081238.zip
exofs: Remove redundant unlikely()
IS_ERR() already implies unlikely(), so it can be omitted here. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'fs/exofs')
-rw-r--r--fs/exofs/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exofs/super.c b/fs/exofs/super.c
index 8c6c4669b381..78f5ad633d3b 100644
--- a/fs/exofs/super.c
+++ b/fs/exofs/super.c
@@ -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);