From patchwork Thu Aug 25 14:08:24 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans Verkuil X-Patchwork-Id: 1096492 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p7PE8V8B016670 for ; Thu, 25 Aug 2011 14:09:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752207Ab1HYOIq (ORCPT ); Thu, 25 Aug 2011 10:08:46 -0400 Received: from smtp-vbr18.xs4all.nl ([194.109.24.38]:4752 "EHLO smtp-vbr18.xs4all.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751840Ab1HYOIl (ORCPT ); Thu, 25 Aug 2011 10:08:41 -0400 Received: from alastor.dyndns.org (215.80-203-102.nextgentel.com [80.203.102.215]) (authenticated bits=0) by smtp-vbr18.xs4all.nl (8.13.8/8.13.8) with ESMTP id p7PE8cKc021843 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 25 Aug 2011 16:08:39 +0200 (CEST) (envelope-from hverkuil@xs4all.nl) Received: from localhost.localdomain (tschai.lan [192.168.1.10]) (Authenticated sender: hans) by alastor.dyndns.org (Postfix) with ESMTPSA id 1E717168C00E5; Thu, 25 Aug 2011 16:08:37 +0200 (CEST) From: Hans Verkuil To: linux-media@vger.kernel.org Cc: Hans Verkuil Subject: [RFC PATCH 01/12] radio-si4713.c: fix compiler warning Date: Thu, 25 Aug 2011 16:08:24 +0200 Message-Id: X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1314281315-32366-1-git-send-email-hverkuil@xs4all.nl> References: <1314281315-32366-1-git-send-email-hverkuil@xs4all.nl> X-Virus-Scanned: by XS4ALL Virus Scanner 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.6 (demeter1.kernel.org [140.211.167.41]); Thu, 25 Aug 2011 14:09:21 +0000 (UTC) From: Hans Verkuil v4l-dvb-git/drivers/media/radio/radio-si4713.c: In function 'radio_si4713_querycap': v4l-dvb-git/drivers/media/radio/radio-si4713.c:95:30: warning: variable 'rsdev' set but not used [-Wunused-but-set-variable] Signed-off-by: Hans Verkuil --- drivers/media/radio/radio-si4713.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/drivers/media/radio/radio-si4713.c b/drivers/media/radio/radio-si4713.c index 444b4cf..d1fab58 100644 --- a/drivers/media/radio/radio-si4713.c +++ b/drivers/media/radio/radio-si4713.c @@ -92,10 +92,6 @@ static int radio_si4713_s_audout(struct file *file, void *priv, static int radio_si4713_querycap(struct file *file, void *priv, struct v4l2_capability *capability) { - struct radio_si4713_device *rsdev; - - rsdev = video_get_drvdata(video_devdata(file)); - strlcpy(capability->driver, "radio-si4713", sizeof(capability->driver)); strlcpy(capability->card, "Silicon Labs Si4713 Modulator", sizeof(capability->card));