From patchwork Wed Jan 22 06:13:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 23478 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4689E218CB for ; Wed, 22 Jan 2014 06:18:20 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wp4sf17401414obc.1 for ; Tue, 21 Jan 2014 22:18:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe:content-type :content-transfer-encoding; bh=FOBB4OqAmEYwTSH/dO5RpMw8D9nuu/NUsfXdCDDGFUg=; b=Edak9K3SAX4fR11sUJ36Wj/dN0NwqB01t3rIdpfvq7zqSVIaLhse8kKdqdG/ozzQHL gM10u50TMJ1HshAhhjlJABkTz3qJCBv6eqG14FTQpyhT6OJZTp9PyPKlZkjs154HrT1S UeRKNSXTypti6unB/rdv4TU9MDJzyJu+tOsgpyo9GSzUgBvDfiT+Rvc3YTu/loo7f+R3 tSSB5tMCEMjU36cLZ6bJP68ueydyOmXX9bGE+6qHaFndg2wClUrXrgMIUEDaOglNfN5K aQL77D4kU3kSkjdyAciWLffje+fruhldSJiRL1OzzyoLcamCu9SSDi4MJIcJvXZha9Xr /y4Q== X-Gm-Message-State: ALoCoQnLBYAM9dsg8q9kMePcUqt/lcg8EpqL0G+c+4LphllYUADK2ZZEuKwdQMdMUeIPv3wJKXoK X-Received: by 10.43.161.202 with SMTP id mh10mr8678828icc.23.1390371499413; Tue, 21 Jan 2014 22:18:19 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.61.163 with SMTP id q3ls1818971qer.99.gmail; Tue, 21 Jan 2014 22:18:19 -0800 (PST) X-Received: by 10.58.85.133 with SMTP id h5mr16815236vez.4.1390371499311; Tue, 21 Jan 2014 22:18:19 -0800 (PST) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id s10si3864816vco.56.2014.01.21.22.18.19 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 22:18:19 -0800 (PST) Received-SPF: neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id oz11so3049687veb.35 for ; Tue, 21 Jan 2014 22:18:19 -0800 (PST) X-Received: by 10.58.208.130 with SMTP id me2mr17455668vec.13.1390371499245; Tue, 21 Jan 2014 22:18:19 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp163798vcz; Tue, 21 Jan 2014 22:18:18 -0800 (PST) X-Received: by 10.68.170.66 with SMTP id ak2mr29255211pbc.5.1390371498340; Tue, 21 Jan 2014 22:18:18 -0800 (PST) Received: from mail-pd0-f179.google.com (mail-pd0-f179.google.com [209.85.192.179]) by mx.google.com with ESMTPS id sj5si8373496pab.139.2014.01.21.22.18.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 22:18:18 -0800 (PST) Received-SPF: neutral (google.com: 209.85.192.179 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.192.179; Received: by mail-pd0-f179.google.com with SMTP id q10so7126502pdj.24 for ; Tue, 21 Jan 2014 22:18:18 -0800 (PST) X-Received: by 10.68.226.200 with SMTP id ru8mr29534467pbc.77.1390371497906; Tue, 21 Jan 2014 22:18:17 -0800 (PST) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id yi8sm40731507pab.16.2014.01.21.22.18.14 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 22:18:17 -0800 (PST) From: Sachin Kamat To: alsa-devel@alsa-project.org Cc: broonie@kernel.org, sbkim73@samsung.com, lgirdwood@gmail.com, tiwai@suse.de, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 3/7] ASoC: Samsung: h1940_uda1380: Remove unused variable Date: Wed, 22 Jan 2014 11:43:29 +0530 Message-Id: <1390371213-21643-4-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1390371213-21643-1-git-send-email-sachin.kamat@linaro.org> References: <1390371213-21643-1-git-send-email-sachin.kamat@linaro.org> MIME-Version: 1.0 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: sachin.kamat@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Fixes the following warning: sound/soc/samsung/h1940_uda1380.c:183:6: warning: unused variable ‘err’ [-Wunused-variable] Signed-off-by: Sachin Kamat --- sound/soc/samsung/h1940_uda1380.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/samsung/h1940_uda1380.c b/sound/soc/samsung/h1940_uda1380.c index fbced589d077..3b27cd96570b 100644 --- a/sound/soc/samsung/h1940_uda1380.c +++ b/sound/soc/samsung/h1940_uda1380.c @@ -181,7 +181,6 @@ static int h1940_uda1380_init(struct snd_soc_pcm_runtime *rtd) { struct snd_soc_codec *codec = rtd->codec; struct snd_soc_dapm_context *dapm = &codec->dapm; - int err; snd_soc_dapm_enable_pin(dapm, "Headphone Jack"); snd_soc_dapm_enable_pin(dapm, "Speaker");