exofs: Remove redundant unlikely()
authorTobias Klauser <tklauser@distanz.ch>
Thu, 9 Dec 2010 14:55:21 +0000 (15:55 +0100)
committerBoaz 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

index 8c6c466..78f5ad6 100644 (file)
@@ -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);