From patchwork Thu Jan 1 17:01:21 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shakil A Khan X-Patchwork-Id: 5562921 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 12CEABF6C3 for ; Sun, 4 Jan 2015 09:34:01 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 47956201FA for ; Sun, 4 Jan 2015 09:34:00 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 67A9520166 for ; Sun, 4 Jan 2015 09:33:59 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 734692614D3; Sun, 4 Jan 2015 10:33:58 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, DATE_IN_PAST_03_06, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_SBL, 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 EA06826052D; Sun, 4 Jan 2015 10:33:15 +0100 (CET) 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 AF584260524; Thu, 1 Jan 2015 21:38:34 +0100 (CET) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by alsa0.perex.cz (Postfix) with ESMTP id 13AE2260501 for ; Thu, 1 Jan 2015 21:38:24 +0100 (CET) Received: by mail-pd0-f178.google.com with SMTP id r10so22680470pdi.37 for ; Thu, 01 Jan 2015 12:38:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=J4dGKIpWY/pSYoii+deHLsXzZydU7S7SfhYy8qI8mJo=; b=XNdvwKQQWoRi6KbiyVusCYRwgJ8tw+6krW2Y0T5A3KQJ85exAWmlYY5kvREVLMK4lQ GxxQC28IkVn/hQfAHEsI8d0AtHhNqzI4kY7qHfL1yN6BjurWUhx6PwC1AUkhah1lFCxO RVncQg5PSvo06jH6wffI/rzK6ZfQu49WoM3xYPr+6vBIgBwf+N87HYGhYPMJQinqcyLU f5mnzeQPtSm111ug6JpSWzXqt8oPT8RTGPzAQ8VM7X7HHlXUcWLhbScslqIi/I7dSQrk HvzvcrsvVSLDJ5XAFdwZ5wHElaQfQnfmXZK+PWZnS5sVZjmvdKPG1a1RILtuhvy2KroW dvDw== X-Received: by 10.66.141.138 with SMTP id ro10mr111613706pab.67.1420144702699; Thu, 01 Jan 2015 12:38:22 -0800 (PST) Received: from localhost.localdomain (c-69-181-211-62.hsd1.ca.comcast.net. [69.181.211.62]) by mx.google.com with ESMTPSA id og12sm44640054pdb.43.2015.01.01.12.38.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 01 Jan 2015 12:38:21 -0800 (PST) From: Shakil A Khan To: tiwai@suse.de Date: Thu, 1 Jan 2015 09:01:21 -0800 Message-Id: <1420131681-74211-1-git-send-email-shakilk1729@gmail.com> X-Mailer: git-send-email 1.9.1 X-Mailman-Approved-At: Sun, 04 Jan 2015 10:33:12 +0100 Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, lgirdwood@gmail.com, broonie@kernel.org, Shakil A Khan Subject: [alsa-devel] [PATCH] Removed unused variable i from sound/soc/soc-pcm.c Signed-off-by: Shakil A Khan 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 --- sound/soc/soc-pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c index d6e8d6b..6b0136e 100644 --- a/sound/soc/soc-pcm.c +++ b/sound/soc/soc-pcm.c @@ -304,7 +304,7 @@ static bool soc_pcm_has_symmetry(struct snd_pcm_substream *substream) static void soc_pcm_set_msb(struct snd_pcm_substream *substream, int bits) { struct snd_soc_pcm_runtime *rtd = substream->private_data; - int ret, i; + int ret; if (!bits) return;