projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
521cb40
)
exofs: Remove redundant unlikely()
author
Tobias Klauser
<tklauser@distanz.ch>
Thu, 9 Dec 2010 14:55:21 +0000
(15:55 +0100)
committer
Boaz Harrosh
<bharrosh@panasas.com>
Tue, 15 Mar 2011 10:33:42 +0000
(12:33 +0200)
IS_ERR() already implies unlikely(), so it can be omitted here.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
fs/exofs/super.c
patch
|
blob
|
history
diff --git
a/fs/exofs/super.c
b/fs/exofs/super.c
index
8c6c466
..
78f5ad6
100644
(file)
--- 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);