Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757204Ab0LIUHt (ORCPT ); Thu, 9 Dec 2010 15:07:49 -0500 Received: from mail.perches.com ([173.55.12.10]:2400 "EHLO mail.perches.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757065Ab0LIUEO (ORCPT ); Thu, 9 Dec 2010 15:04:14 -0500 From: Joe Perches To: Boaz Harrosh , Benny Halevy Cc: Jiri Kosina , osd-dev@open-osd.org, linux-kernel@vger.kernel.org Subject: [PATCH 09/15] exofs: Remove duplicate unlikely from IS_ERR Date: Thu, 9 Dec 2010 12:04:02 -0800 Message-Id: <0bf308cd31a750c6608a0c3c492b1f7e59852c78.1291923889.git.joe@perches.com> X-Mailer: git-send-email 1.7.3.3.464.gf80b6 In-Reply-To: <1291906801-1389-2-git-send-email-tklauser@distanz.ch> References: <1291906801-1389-2-git-send-email-tklauser@distanz.ch> In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 896 Lines: 28 IS_ERR already uses unlikely, remove unlikely from the call sites. Signed-off-by: Joe Perches --- fs/exofs/super.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/exofs/super.c b/fs/exofs/super.c index 79c3ae6..b2b12a8 100644 --- a/fs/exofs/super.c +++ b/fs/exofs/super.c @@ -488,7 +488,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); -- 1.7.3.3.464.gf80b6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/