From patchwork Fri May 22 16:25:34 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicola Soranzo X-Patchwork-Id: 25435 X-Patchwork-Delegate: dougsland@redhat.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n4MGPRX4027179 for ; Fri, 22 May 2009 16:25:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751442AbZEVQZY (ORCPT ); Fri, 22 May 2009 12:25:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754323AbZEVQZY (ORCPT ); Fri, 22 May 2009 12:25:24 -0400 Received: from smtp.sissa.it ([147.122.11.135]:53637 "EHLO smtp.sissa.it" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751000AbZEVQZX (ORCPT ); Fri, 22 May 2009 12:25:23 -0400 Received: from ozzy.localnet (dhpc-2-02.sissa.it [147.122.2.182]) by smtp.sissa.it (Postfix) with ESMTP id 935B01B4814F; Fri, 22 May 2009 18:25:23 +0200 (CEST) From: Nicola Soranzo To: Linux Media Subject: [PATCH] tuner-core: remove unused variable Date: Fri, 22 May 2009 18:25:34 +0200 User-Agent: KMail/1.11.3 (Linux/2.6.27.21-170.2.56.fc10.i686.PAE; KDE/4.2.3; i686; ; ) Cc: Mauro Carvalho Chehab MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200905221825.34542.nsoranzo@tiscali.it> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Trivial fix for this warning, introduced by changeset 7f2eea75118b: /home/nicola/v4l-dvb-archive/v4l/tuner-core.c: In function 'set_type': /home/nicola/v4l-dvb-archive/v4l/tuner-core.c:429: warning: unused variable 'xc_tuner_ops' Priority: normal Signed-off-by: Nicola Soranzo --- -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff -r 315bc4b65b4f -r 040b6da1f887 linux/drivers/media/video/tuner-core.c --- a/linux/drivers/media/video/tuner-core.c Sun May 17 12:28:55 2009 +0000 +++ b/linux/drivers/media/video/tuner-core.c Fri May 22 18:11:17 2009 +0200 @@ -426,8 +426,6 @@ break; case TUNER_XC5000: { - struct dvb_tuner_ops *xc_tuner_ops; - xc5000_cfg.i2c_address = t->i2c->addr; /* if_khz will be set when the digital dvb_attach() occurs */ xc5000_cfg.if_khz = 0;