From patchwork Tue Jul 1 11:32:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 4458291 X-Patchwork-Delegate: tiwai@suse.de Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 164699F39B for ; Tue, 1 Jul 2014 11:37:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 618F0203F1 for ; Tue, 1 Jul 2014 11:37:47 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 415C1203EB for ; Tue, 1 Jul 2014 11:37:46 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 4CB6D265728; Tue, 1 Jul 2014 13:37:45 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 26712261B02; Tue, 1 Jul 2014 13:36:50 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id 5367C265011; Tue, 1 Jul 2014 13:36:49 +0200 (CEST) Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by alsa0.perex.cz (Postfix) with ESMTP id 188FD261B0A for ; Tue, 1 Jul 2014 13:36:39 +0200 (CEST) Received: by mail-pd0-f175.google.com with SMTP id v10so9936458pde.6 for ; Tue, 01 Jul 2014 04:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=zUji0SX2K5WhWbgbCpjroJvjzNF0BeKn/sA+Ko1FHYI=; b=tMDZ2iY0Dgi3wQ0v2wFUDBQW9F/pitpxdwTK3AOMIK6whIZw2Y2UZpc3rhkexGH02q nvx5TxI8wq6t4i6pH4/AuvoHvYRrE/PKttejrbJGhTxIZY21X16wRZ6yyzw/ebV/CZRk oZ4/KYrpiduS2ymtECk2DuVTj2B4Ni7ACD2DIluc0kgAY5XLYnPJuEMx+S7iAwyVC/si GWwkt/x2MG5p2KlqWZjWERVCeqcjdPnjTEHD9BZEcC3VtFQlLyhyJghHjaj8J1SW56g3 dgCgBMtnRGmlb511pF5dcTySZkw7q7iC6BlWJTy/KodXGc3ATPsCf7R99Loc/MbUTs8n iMMQ== X-Received: by 10.68.189.137 with SMTP id gi9mr60644957pbc.79.1404214599227; Tue, 01 Jul 2014 04:36:39 -0700 (PDT) Received: from linaro.sisodomain.com ([14.140.216.146]) by mx.google.com with ESMTPSA id be7sm115269157pad.9.2014.07.01.04.36.36 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 01 Jul 2014 04:36:38 -0700 (PDT) From: Sachin Kamat To: alsa-devel@alsa-project.org Date: Tue, 1 Jul 2014 17:02:57 +0530 Message-Id: <1404214378-24669-4-git-send-email-sachin.kamat@samsung.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1404214378-24669-1-git-send-email-sachin.kamat@samsung.com> References: <1404214378-24669-1-git-send-email-sachin.kamat@samsung.com> Cc: tiwai@suse.de, spk.linux@gmail.com Subject: [alsa-devel] [PATCH 4/5] ALSA: echoaudio: Remove unused variable X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP 'chip' is not used in the function. Remove it. Signed-off-by: Sachin Kamat --- sound/pci/echoaudio/echoaudio.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sound/pci/echoaudio/echoaudio.c b/sound/pci/echoaudio/echoaudio.c index 9f10c9e0df5e..631aaa4046ad 100644 --- a/sound/pci/echoaudio/echoaudio.c +++ b/sound/pci/echoaudio/echoaudio.c @@ -1754,9 +1754,6 @@ static struct snd_kcontrol_new snd_echo_vumeters_switch = { static int snd_echo_vumeters_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) { - struct echoaudio *chip; - - chip = snd_kcontrol_chip(kcontrol); uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; uinfo->count = 96; uinfo->value.integer.min = ECHOGAIN_MINOUT; @@ -1798,9 +1795,6 @@ static struct snd_kcontrol_new snd_echo_vumeters = { static int snd_echo_channels_info_info(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo) { - struct echoaudio *chip; - - chip = snd_kcontrol_chip(kcontrol); uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; uinfo->count = 6; uinfo->value.integer.min = 0;