From patchwork Mon Nov 23 09:35:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 7679171 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 779B29F1D3 for ; Mon, 23 Nov 2015 09:36:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B0E022061D for ; Mon, 23 Nov 2015 09:36:27 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 5865720384 for ; Mon, 23 Nov 2015 09:36:26 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0916D2652C1; Mon, 23 Nov 2015 10:36:25 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 3509F260A59; Mon, 23 Nov 2015 10:36:17 +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 054A92651ED; Mon, 23 Nov 2015 10:36:15 +0100 (CET) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) by alsa0.perex.cz (Postfix) with ESMTP id F026C260455 for ; Mon, 23 Nov 2015 10:36:08 +0100 (CET) Received: from wuerfel.localnet ([134.3.118.24]) by mrelayeu.kundenserver.de (mreue002) with ESMTPSA (Nemesis) id 0Lwzrl-1aP4VT1Plx-016jBm; Mon, 23 Nov 2015 10:35:58 +0100 From: Arnd Bergmann To: Mark Brown , alsa-devel@alsa-project.org Date: Mon, 23 Nov 2015 10:35:54 +0100 Message-ID: <4929159.b95vLdVRYU@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) MIME-Version: 1.0 X-Provags-ID: V03:K0:Q5nRVPyxQ3TTpTivey/Mi4HY7ZBAsWPPOy/lrzKCXsvKFdgP3dG FFZyEY5VfNts0UzXUpKohwaIl9H+zCuzmnCXvwyfa594/ypLHt0nirBw5IydZE7DCqfUPbk Ch+CGWS0QOLyNe2RdU8D2e+yS2egh9SPXf4AWC5KqeNpLsKnGvav/aZLvg3mZXS5jJHdvdR oixaL4SOUV8FoIXHAhCIQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:gYkx0Feu89o=:dynxLqbnpNGxvmmTeif3TR xtKJiUUCMj4yOwhapvDOZon93DIQ4yORfEPabcck0bWomsI+vvNhvS3bFdf5IXSRVFtlTvFbt IucZs4OTCRCpqhIPRnZj2uCFtqAqgRxaIZ/7lcR82HS1mSDyBacTkSwThtYPpOvs0WsN8GK5h Krew+maVqOzylp25CT39zZAEXzBizD88eA7LQoDEduEFSo0wzJtsUEsWbdsM56L6RxAisULnl 3xXzq05JcX6IpJ15EZX0+CjCsM0BSp/uoVVOjmIAdNuL1y+dz8P9qfdfELFxRJpnt89pQ2l42 qpPqybJCN4PC7//IFBS5pSdT5uNOOIb0I06RZdUOdlr5sX2UCI9aK5xZGIwTDRaGNrq51hzqW RiAeLeDWBb6yfg/EPSjI7EeoXuX0Dim6F92QeoP1n7LJgVXQ40eQdCvcq/XXcZB6on5f+ot8K sWnGboo32xERCQqu5j2ziV93vJCUQD0VLOVgmSxNBIuqZMxnGmNRR8myXB4Gb46g3jpKRqWys TY4OYr9J5kWzTsL3i8OSKjzmdcIkFg8iqsmAMUhVB6CFRGVqGwY246ctZg3hZyjGW0aIkl9Yv tV1b3N6cUg2acz1LMWl5aKP8dUzkj34wMHc3mBAhKfd7kFART+LK+I8Esrf7hQfQQCmBB9NFI mXnJz+N6sWF3p718wIrtXIOtIP2efAtN+shoOe3gYEPni17jIrJDy2VZyZw4J8lF5Wuigi0zk u+xwN/2nFiVpAWAA Cc: Mengdong Lin , Kuninori Morimoto , linux-sh@vger.kernel.org, Liam Girdwood , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [alsa-devel] [PATCH] ASoC: rcar: 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP After a recent cleanup, the soc_card variable became unused and now produces a warning: soc/sh/rcar/core.c: In function '__rsnd_kctrl_new': soc/sh/rcar/core.c:801:23: warning: unused variable 'soc_card' [-Wunused-variable] This removes the variable. Fixes: 1a497983a5ae ("ASoC: Change the PCM runtime array to a list") Signed-off-by: Arnd Bergmann diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index c6685f14b9cb..90b244c1f526 100644 --- a/sound/soc/sh/rcar/core.c +++ b/sound/soc/sh/rcar/core.c @@ -798,7 +798,6 @@ static int __rsnd_kctrl_new(struct rsnd_mod *mod, void (*update)(struct rsnd_dai_stream *io, struct rsnd_mod *mod)) { - struct snd_soc_card *soc_card = rtd->card; struct snd_card *card = rtd->card->snd_card; struct snd_kcontrol *kctrl; struct snd_kcontrol_new knew = {