From patchwork Thu Jan 29 10:45:22 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alessandro Zummo X-Patchwork-Id: 20993 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from yx-out-2122.google.com (yx-out-2122.google.com [74.125.44.26]) by ozlabs.org (Postfix) with ESMTP id D9A8CDDFAE for ; Thu, 29 Jan 2009 21:45:31 +1100 (EST) Received: by yx-out-2122.google.com with SMTP id 35so2353005yxh.11 for ; Thu, 29 Jan 2009 02:45:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:received:x-sender:x-apparently-to :received:received:received-spf:authentication-results:received :received:from:subject:to:cc:date:message-id:user-agent:mime-version :content-type:reply-to:sender:precedence:x-google-loop:mailing-list :list-id:list-post:list-help:list-unsubscribe:x-beenthere-env :x-beenthere; bh=UgHvhMFd3eoBdfapnCE/GL5bJ1jiY8lcl7sf64Eooms=; b=zU+5S0N17emtXqh1e5wCGujiGS6mECDywq7hmdUmd4DcwhO064b6EX0fOWfvE+7M39 5tCDJLLM39CSGOZnJg9mjcoptm83cRfyj0ElBJmcoYuNeBE6970nSTLaKg3Y2H1r3LW1 0gS10serx+VyG0JujtUDE1d61Bf5bu49/Rhek= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-sender:x-apparently-to:received-spf:authentication-results:from :subject:to:cc:date:message-id:user-agent:mime-version:content-type :reply-to:sender:precedence:x-google-loop:mailing-list:list-id :list-post:list-help:list-unsubscribe:x-beenthere-env:x-beenthere; b=ukmhTNYzk9FEajzb8c3FMEfhqTiOU3HKUo6WKuoEw0KS10Oo/x1lvzfJ/bB03xLbTo SXijIDddxk6HIonheNauCsAlMDWJBzHeHIspMM384KO0UyJ1c9crKZKntvnMMQJs7q2r msGaAXbU8QuQoLYMfWxqbSGE90pB0Jy29RVVk= Received: by 10.150.227.9 with SMTP id z9mr2632ybg.4.1233225926227; Thu, 29 Jan 2009 02:45:26 -0800 (PST) Received: by 10.230.7.203 with SMTP id e11gr1862vbe.0; Thu, 29 Jan 2009 02:45:26 -0800 (PST) X-Sender: a.zummo@towertech.it X-Apparently-To: rtc-linux@googlegroups.com Received: by 10.223.104.19 with SMTP id m19mr416163fao.1.1233225923931; Thu, 29 Jan 2009 02:45:23 -0800 (PST) Received: from mx0.towertech.it (mx0.towertech.it [213.215.222.73]) by mx.google.com with SMTP id 5si4270586fge.14.2009.01.29.02.45.23; Thu, 29 Jan 2009 02:45:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of a.zummo@towertech.it designates 213.215.222.73 as permitted sender) client-ip=213.215.222.73; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of a.zummo@towertech.it designates 213.215.222.73 as permitted sender) smtp.mail=a.zummo@towertech.it Received: (qmail 6946 invoked from network); 29 Jan 2009 11:45:23 +0100 Received: from unknown (HELO i1501.lan.towertech.it) (81.208.60.204) by mx0.towertech.it with SMTP; 29 Jan 2009 11:45:23 +0100 From: Alessandro Zummo Subject: [rtc-linux] [PATCH] rtc-ds1390: Fix compilation warnings in drivers/rtc/rtc-ds1390.c To: akpm@linux-foundation.org Cc: rtc-linux@googlegroups.com, Manish Katiyar , Alessandro Zummo Date: Thu, 29 Jan 2009 11:45:22 +0100 Message-ID: <20090129104522.3654.25847.stgit@i1501.lan.towertech.it> User-Agent: StGIT/0.14.2 Mime-Version: 1.0 Reply-To: rtc-linux@googlegroups.com Sender: rtc-linux@googlegroups.com Precedence: bulk X-Google-Loop: groups Mailing-List: list rtc-linux@googlegroups.com; contact rtc-linux+owner@googlegroups.com List-Id: List-Post: List-Help: List-Unsubscribe: , X-BeenThere-Env: rtc-linux@googlegroups.com X-BeenThere: rtc-linux@googlegroups.com From: Manish Katiyar Below patch removes the following compilation warning drivers/rtc/rtc-ds1390.c:125: warning: unused variable 'rtc' Signed-off-by: Manish Katiyar Signed-off-by: Alessandro Zummo --- drivers/rtc/rtc-ds1390.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to "rtc-linux". Membership options at http://groups.google.com/group/rtc-linux . Please read http://groups.google.com/group/rtc-linux/web/checklist before submitting a driver. -~----------~----~----~----~------~----~------~--~--- diff --git a/drivers/rtc/rtc-ds1390.c b/drivers/rtc/rtc-ds1390.c index e54b5c6..e01b955 100644 --- a/drivers/rtc/rtc-ds1390.c +++ b/drivers/rtc/rtc-ds1390.c @@ -122,7 +122,6 @@ static const struct rtc_class_ops ds1390_rtc_ops = { static int __devinit ds1390_probe(struct spi_device *spi) { - struct rtc_device *rtc; unsigned char tmp; struct ds1390 *chip; int res;