From patchwork Mon Jun 21 16:15:47 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Justin P. Mattock" X-Patchwork-Id: 107207 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5LGGIdS014096 for ; Mon, 21 Jun 2010 16:16:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756131Ab0FUQP4 (ORCPT ); Mon, 21 Jun 2010 12:15:56 -0400 Received: from mail-pv0-f174.google.com ([74.125.83.174]:46651 "EHLO mail-pv0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751243Ab0FUQPz (ORCPT ); Mon, 21 Jun 2010 12:15:55 -0400 Received: by pvh11 with SMTP id 11so308740pvh.19 for ; Mon, 21 Jun 2010 09:15:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=d/U+rE39j5XYPQGrtDq4JKn5tkyI2EKHC1a6nPU1Ies=; b=tPYD0eHkmjlRQyVCCikg4jbvYziVHO6XedfC69syV2nXdAi4LP+rzOTXM+8d3H4pQs 4f3wXyc6H/F8yQftWP4bhefaTS0N+6sJUEpK7wnJQTqc4mvK5Pzi4bfuAp5OX0wqubk6 UoHW1/L39gmYXOL/8/q2ZSX5CUsk5hW/xXr/8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=oagxi+5lOSV6Utej8XKxDtFak0eXEnjnZqraR5N75adx2V9aUxmY5HN7VimxBbtati iSgz86MGcIvBMVsE0Vebvl5mdq/rts/vw6zVf/euOnn7aXZ4K1qnnJRurK3Z57l9dnWn AVuNglFdLfTLJGBTy6+18eoUSvU8uPOjn/yA4= Received: by 10.143.20.1 with SMTP id x1mr3586649wfi.148.1277136953505; Mon, 21 Jun 2010 09:15:53 -0700 (PDT) Received: from localhost.localdomain ([76.91.45.220]) by mx.google.com with ESMTPS id t1sm3234190rvl.21.2010.06.21.09.15.51 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 21 Jun 2010 09:15:52 -0700 (PDT) From: "Justin P. Mattock" To: linux-media@vger.kernel.org Cc: linux-kernel@vger.kernel.org, "Justin P. Mattock" Subject: [PATCH 8/8 v2]tuners:tuner-simple Fix warning: variable 'tun' set but not used Date: Mon, 21 Jun 2010 09:15:47 -0700 Message-Id: <1277136947-2787-1-git-send-email-justinmattock@gmail.com> X-Mailer: git-send-email 1.7.1.rc1.21.gf3bd6 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 21 Jun 2010 16:16:18 +0000 (UTC) diff --git a/drivers/media/common/tuners/tuner-simple.c b/drivers/media/common/tuners/tuner-simple.c index 8abbcc5..84900fa 100644 --- a/drivers/media/common/tuners/tuner-simple.c +++ b/drivers/media/common/tuners/tuner-simple.c @@ -545,14 +545,11 @@ static int simple_set_tv_freq(struct dvb_frontend *fe, struct tuner_simple_priv *priv = fe->tuner_priv; u8 config, cb; u16 div; - struct tunertype *tun; u8 buffer[4]; int rc, IFPCoff, i; enum param_type desired_type; struct tuner_params *t_params; - tun = priv->tun; - /* IFPCoff = Video Intermediate Frequency - Vif: 940 =16*58.75 NTSC/J (Japan) 732 =16*45.75 M/N STD