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 12:33:42 +0200
commit2c722c9a47d1369e2685b85288e78c469a081238 (patch)
tree2acb65a6c2ba1d756b317e6ab7ee9624851b83ed /fs/exofs
parent521cb40b0c44418a4fd36dc633f575813d59a43d (diff)
downloadop-kernel-dev-2c722c9a47d1369e2685b85288e78c469a081238.zip
op-kernel-dev-2c722c9a47d1369e2685b85288e78c469a081238.tar.gz
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 8c6c466..78f5ad6 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);
OpenPOWER on IntegriCloud