From patchwork Thu Dec 9 20:03:56 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Perches X-Patchwork-Id: 74976 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-px0-f184.google.com (mail-px0-f184.google.com [209.85.212.184]) by ozlabs.org (Postfix) with ESMTP id DC1ECB70AF for ; Fri, 10 Dec 2010 07:04:15 +1100 (EST) Received: by pxi3 with SMTP id 3sf1015865pxi.11 for ; Thu, 09 Dec 2010 12:04:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:mime-version:x-beenthere:received :received:received:received:received-spf:received:from:to:cc:subject :date:message-id:x-mailer:in-reply-to:references:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:sender:list-subscribe:list-unsubscribe:content-type; bh=VBi3zOCkYdgOBW0lC9fWjv3vBa9RsTyoYlwLdt4u/R8=; b=n2qB5FEG0GHy9sYxCzvVkKZpr2Z4zZBc54/7WE8SvqyE+wS3RfJUdeB4Em9RzNumvF hnRD9Kkxwv183z7hci0MM+jdjc7iYF7ZNFjDqopyjvsiI3xEWRpZCVUlqNXdYe4/OIjE bUNnKWCZY9V6ocw+Im7Q2bTd265ftTBma33x8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=mime-version:x-beenthere:received-spf:from:to:cc:subject:date :message-id:x-mailer:in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:sender:list-subscribe :list-unsubscribe:content-type; b=wFLBXTLT7EHy91XREbZfGPazYREUb2A2NZ6VP0FW+70SXQrspM007T0o3NXWg16pXh 1dJ9mz6mAYN+s+UoFmUrzmBlQX75zGwPb/vCHjQ0fHZvCn71iftR4niznoW/k2fuPoCT Ek+6Ko6rgH8ESUGiAfbQyg/l+AUtEXGlpJlJs= Received: by 10.142.249.18 with SMTP id w18mr557578wfh.8.1291925052957; Thu, 09 Dec 2010 12:04:12 -0800 (PST) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.142.249.41 with SMTP id w41ls3298340wfh.1.p; Thu, 09 Dec 2010 12:04:12 -0800 (PST) Received: by 10.142.210.2 with SMTP id i2mr6823885wfg.45.1291925052661; Thu, 09 Dec 2010 12:04:12 -0800 (PST) Received: by 10.142.210.2 with SMTP id i2mr6823884wfg.45.1291925052637; Thu, 09 Dec 2010 12:04:12 -0800 (PST) Received: from mail.perches.com (mail.perches.com [173.55.12.10]) by gmr-mx.google.com with ESMTP id y8si2520606wfj.5.2010.12.09.12.04.12; Thu, 09 Dec 2010 12:04:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of joe@perches.com designates 173.55.12.10 as permitted sender) client-ip=173.55.12.10; Received: from localhost.home (unknown [192.168.1.153]) by mail.perches.com (Postfix) with ESMTP id 77F522436D; Thu, 9 Dec 2010 12:03:59 -0800 (PST) From: Joe Perches To: Mike Frysinger , Alessandro Zummo Cc: Jiri Kosina , uclinux-dist-devel@blackfin.uclinux.org, rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org Subject: [rtc-linux] [PATCH 03/15] rtc: Remove duplicate unlikely from IS_ERR Date: Thu, 9 Dec 2010 12:03:56 -0800 Message-Id: <29ab1782961e5d9b56972818f12eb7a2e5bd4329.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: X-Original-Sender: joe@perches.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of joe@perches.com designates 173.55.12.10 as permitted sender) smtp.mail=joe@perches.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: Sender: rtc-linux@googlegroups.com List-Subscribe: , List-Unsubscribe: , IS_ERR already uses unlikely, remove unlikely from the call sites. Signed-off-by: Joe Perches --- drivers/rtc/rtc-bfin.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-bfin.c b/drivers/rtc/rtc-bfin.c index b4b6087..4ba3e33 100644 --- a/drivers/rtc/rtc-bfin.c +++ b/drivers/rtc/rtc-bfin.c @@ -383,7 +383,7 @@ static int __devinit bfin_rtc_probe(struct platform_device *pdev) /* Register our RTC with the RTC framework */ rtc->rtc_dev = rtc_device_register(pdev->name, dev, &bfin_rtc_ops, THIS_MODULE); - if (unlikely(IS_ERR(rtc->rtc_dev))) { + if (IS_ERR(rtc->rtc_dev)) { ret = PTR_ERR(rtc->rtc_dev); goto err; }