From patchwork Tue Aug 21 06:50:22 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 10823 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id C993423F46 for ; Tue, 21 Aug 2012 06:52:28 +0000 (UTC) Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by fiordland.canonical.com (Postfix) with ESMTP id 9FEFCA184E7 for ; Tue, 21 Aug 2012 06:52:20 +0000 (UTC) Received: by obceq6 with SMTP id eq6so10716599obc.11 for ; Mon, 20 Aug 2012 23:52:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=5JcwSHjNTCB9amf7InoEtHnsjK1pzOJekO/csp97L8k=; b=OZcMmkqOhVXvijtUn8/CioR9QvnRhQKZ4ZvpG4LOfqi81IlKG9URd+BpKHekNRKqpc /US824hU9inVfMKt9+YMPgIe2sV6oYL9Xo8oochdHrx7W/7kSIif2PmyhAJ4/PghCDTf hC/UMsM8dcTba9dgoO3/udn1c8KBLrdq5SMgTV9aSzL+Pk0GiyStYxuAjljGtyq+YcZk Cd6GvxZXfZwvFVnaqIVDbh04x6IRcWk5Hxmujp5yS2TtqeokYZWDyl8ftpGKQW7oVq6E CFjBZ/Ae7Ql5aiJ8yxyzRtcZ+TpLdcXpYYM2ljshzW0awGBS3kXLaBcOXEpsmIlPsg79 jrsA== Received: by 10.50.207.106 with SMTP id lv10mr12485665igc.0.1345531947263; Mon, 20 Aug 2012 23:52:27 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp125136igc; Mon, 20 Aug 2012 23:52:26 -0700 (PDT) Received: by 10.66.83.234 with SMTP id t10mr35769418pay.39.1345531946262; Mon, 20 Aug 2012 23:52:26 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id kc9si1687475pbc.115.2012.08.20.23.52.25 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Aug 2012 23:52:26 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by pbcmd12 with SMTP id md12so8924926pbc.37 for ; Mon, 20 Aug 2012 23:52:25 -0700 (PDT) Received: by 10.66.87.66 with SMTP id v2mr35646560paz.71.1345531945763; Mon, 20 Aug 2012 23:52:25 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id ox5sm813686pbc.75.2012.08.20.23.52.23 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Aug 2012 23:52:25 -0700 (PDT) From: Sachin Kamat To: alsa-devel@alsa-project.org Cc: broonie@opensource.wolfsonmicro.com, namartax.kohli@intel.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH] ASoC: soc-compress: Remove unused variable Date: Tue, 21 Aug 2012 12:20:22 +0530 Message-Id: <1345531822-2297-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQn9QQLZws2rzoGixgu3mRffUMqlmNzgmkdpsWQXS4jplNYcqD47aTDkEQR6WCRljxNUymlU codec_dai is not used in the function. sound/soc/soc-compress.c: In function ‘soc_compr_set_params’: sound/soc/soc-compress.c:156:22: warning: unused variable ‘codec_dai’ [-Wunused-variable] Signed-off-by: Sachin Kamat --- sound/soc/soc-compress.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/sound/soc/soc-compress.c b/sound/soc/soc-compress.c index 88d85ba..b837674 100644 --- a/sound/soc/soc-compress.c +++ b/sound/soc/soc-compress.c @@ -153,7 +153,6 @@ static int soc_compr_set_params(struct snd_compr_stream *cstream, { struct snd_soc_pcm_runtime *rtd = cstream->private_data; struct snd_soc_platform *platform = rtd->platform; - struct snd_soc_dai *codec_dai = rtd->codec_dai; int ret = 0; /* first we call set_params for the platform driver