From patchwork Mon Jan 19 17:18:37 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manish Katiyar X-Patchwork-Id: 19348 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from wa-out-1516.google.com (wa-out-1516.google.com [209.85.146.166]) by ozlabs.org (Postfix) with ESMTP id 370AADDF2C for ; Tue, 20 Jan 2009 04:18:45 +1100 (EST) Received: by wa-out-1516.google.com with SMTP id l32so1646392waf.1 for ; Mon, 19 Jan 2009 09:18:43 -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 :dkim-signature:domainkey-signature:mime-version:content-type :received:date:message-id:subject:from:to:reply-to:sender:precedence :x-google-loop:mailing-list:list-id:list-post:list-help :list-unsubscribe:x-beenthere-env:x-beenthere; bh=D1fvgKm+l519uulSSpeAPWKiele5Jafcb5GKFGiOpbo=; b=ioycrGifqkwsLowLIb3TUaUYBe59drxe14yKDUPlLxTnEbUZoN+i6PiUeKSQ1FMGT1 50RP9hTBt4iUByWz/vUYH0dVCtk53V8bmZ5YD6V2nYvpVVH/RvAW3P0mNFyGd99qTUPm CBZDAhPu8XpO3Furp4sR1nUsxQwHPNzwEgKaA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-sender:x-apparently-to:received-spf:authentication-results :dkim-signature:domainkey-signature:mime-version:content-type:date :message-id:subject:from:to:reply-to:sender:precedence:x-google-loop :mailing-list:list-id:list-post:list-help:list-unsubscribe :x-beenthere-env:x-beenthere; b=Bjwvf5y2SOqZ1alzBzdOPdvsajICb14eVQsOYZoGF4rLuU94z4gwnTE/zcYKNOscts GPQC9EKJggFkz8qparkwOEnkJ/ofjQusv1fXO8my6UtUl72Yq1xHejJA0E3gWtjLa6bq dT6hS78tg59qwLl/xM1LKoBZLLI9Ma3tydG84= Received: by 10.141.171.6 with SMTP id y6mr500464rvo.27.1232385520489; Mon, 19 Jan 2009 09:18:40 -0800 (PST) Received: by 10.106.62.5 with SMTP id k5gr1844pra.0; Mon, 19 Jan 2009 09:18:40 -0800 (PST) X-Sender: mkatiyar@gmail.com X-Apparently-To: rtc-linux@googlegroups.com Received: by 10.114.135.1 with SMTP id i1mr872746wad.27.1232385519662; Mon, 19 Jan 2009 09:18:39 -0800 (PST) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.189]) by mx.google.com with ESMTP id k19si3707414waf.2.2009.01.19.09.18.38; Mon, 19 Jan 2009 09:18:38 -0800 (PST) Received-SPF: pass (google.com: domain of mkatiyar@gmail.com designates 209.85.142.189 as permitted sender) client-ip=209.85.142.189; Authentication-Results: mx.google.com; spf=pass (google.com: domain of mkatiyar@gmail.com designates 209.85.142.189 as permitted sender) smtp.mail=mkatiyar@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by ti-out-0910.google.com with SMTP id 24so2715874tim.7 for ; Mon, 19 Jan 2009 09:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=kVAOd5cbJTEYls61oY4DIsYaGX4BgR4JWOz0DJUUJek=; b=E7sTYmh2kB2WbyvTdZ/f/eIvcJGnCfDi+x/qV0mqHPrJMl+cSthD2TP/Z3xWlWsVpH JRiamsbPKhULVteMDbYmq3vqL2BIsQ5FI/+shMyH4E442uj3KTw/g/r61mF3VS6zDFyn QzgzqDXDbGmOW6ttFZrtimNuzrRj2hFNP1ghA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=lDHIp7MbzsTILzYUDRJND4NH3cNiVxA1w/5APO4in/qzaW2rfegUmGlnvweA4PGx+h V8hVZ3aqCgw85x/PTqOq/5k5O0rQpwvRjN1P/6jkocQybfGIZ+KKvl4wU+bsCGcT75aS dxZSh30vmjAQF92LxbBzgzoIy5B2biPxF9foQ= Mime-Version: 1.0 Received: by 10.110.11.4 with SMTP id 4mr5396935tik.32.1232385517787; Mon, 19 Jan 2009 09:18:37 -0800 (PST) Date: Mon, 19 Jan 2009 22:48:37 +0530 Message-ID: Subject: [rtc-linux] [PATCH] : Fix compilation warnings in drivers/rtc/rtc-ds1390.c From: Manish Katiyar To: mpfj@mimc.co.uk, rtc-linux@googlegroups.com 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 Below patch removes the following compilation warning drivers/rtc/rtc-ds1390.c:125: warning: unused variable 'rtc' Signed-off-by : Manish Katiyar --- drivers/rtc/rtc-ds1390.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) 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;