From patchwork Mon Jun 22 08:34:33 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 6654261 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 D97A09F1C1 for ; Mon, 22 Jun 2015 08:34:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 25D622063E for ; Mon, 22 Jun 2015 08:34:59 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id C321E20638 for ; Mon, 22 Jun 2015 08:34:57 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 972EF2617BB; Mon, 22 Jun 2015 10:34:56 +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.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id 10466261721; Mon, 22 Jun 2015 10:34:49 +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 5C9A7261734; Mon, 22 Jun 2015 10:34:47 +0200 (CEST) Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [195.130.132.52]) by alsa0.perex.cz (Postfix) with ESMTP id 4636C261721 for ; Mon, 22 Jun 2015 10:34:40 +0200 (CEST) Received: from ayla.of.borg ([84.193.93.87]) by xavier.telenet-ops.be with bizsmtp id jLaZ1q0051t5w8s01LaZhg; Mon, 22 Jun 2015 10:34:36 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1Z6xBY-0006Ue-Sg; Mon, 22 Jun 2015 10:34:32 +0200 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1Z6xBa-0002VO-R0; Mon, 22 Jun 2015 10:34:34 +0200 From: Geert Uytterhoeven To: Kuninori Morimoto , Liam Girdwood , Mark Brown Date: Mon, 22 Jun 2015 10:34:33 +0200 Message-Id: <1434962073-9597-1-git-send-email-geert+renesas@glider.be> X-Mailer: git-send-email 1.9.1 Cc: alsa-devel@alsa-project.org, Geert Uytterhoeven , linux-sh@vger.kernel.org Subject: [alsa-devel] [PATCH] ASoC: rsrc-card: Remove unused variable in rsrc_card_startup() 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/sh/rcar/rsrc-card.c: In function 'rsrc_card_startup': sound/soc/sh/rcar/rsrc-card.c:78:6: warning: unused variable 'ret' [-Wunused-variable] int ret; ^ Fixes: 047000278da3a17f ("ASoC: rsrc-card: cleanup for DPCM") Signed-off-by: Geert Uytterhoeven --- sound/soc/sh/rcar/rsrc-card.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/sh/rcar/rsrc-card.c b/sound/soc/sh/rcar/rsrc-card.c index 8caca2e180c39122..84e935711e29e442 100644 --- a/sound/soc/sh/rcar/rsrc-card.c +++ b/sound/soc/sh/rcar/rsrc-card.c @@ -75,8 +75,6 @@ static int rsrc_card_startup(struct snd_pcm_substream *substream) struct rsrc_card_priv *priv = snd_soc_card_get_drvdata(rtd->card); struct rsrc_card_dai *dai_props = rsrc_priv_to_props(priv, rtd - rtd->card->rtd); - int ret; - return clk_prepare_enable(dai_props->clk); }