From patchwork Wed Jun 17 00:36:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 6621131 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 B57F3C0020 for ; Wed, 17 Jun 2015 00:37:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E8583207F5 for ; Wed, 17 Jun 2015 00:37:17 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 344DC20828 for ; Wed, 17 Jun 2015 00:37:16 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id 9D1DE265A3C; Wed, 17 Jun 2015 02:37:14 +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 D1DEE265A23; Wed, 17 Jun 2015 02:37:04 +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 7B694265A28; Wed, 17 Jun 2015 02:37:03 +0200 (CEST) Received: from relmlie3.idc.renesas.com (relmlor4.renesas.com [210.160.252.174]) by alsa0.perex.cz (Postfix) with ESMTP id 47840265A20 for ; Wed, 17 Jun 2015 02:36:54 +0200 (CEST) Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 17 Jun 2015 09:36:52 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 1AC18472D7; Wed, 17 Jun 2015 09:36:52 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 07419480A4; Wed, 17 Jun 2015 09:36:51 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 001ED480A3; Wed, 17 Jun 2015 09:36:51 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac4.idc.renesas.com with ESMTP id KAN07294; Wed, 17 Jun 2015 09:36:51 +0900 X-IronPort-AV: E=Sophos;i="5.13,629,1427727600"; d="scan'";a="188464790" Received: from mail-sg1lp0091.outbound.protection.outlook.com (HELO APAC01-SG1-obe.outbound.protection.outlook.com) ([207.46.51.91]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 17 Jun 2015 09:36:51 +0900 Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; Received: from morimoto-PC.renesas.com (211.11.155.132) by HKXPR06MB312.apcprd06.prod.outlook.com (10.141.135.155) with Microsoft SMTP Server (TLS) id 15.1.190.14; Wed, 17 Jun 2015 00:36:48 +0000 Message-ID: <87r3pb5g1a.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 In-Reply-To: <201506162207.NtueFC0w%fengguang.wu@intel.com> References: <201506162207.NtueFC0w%fengguang.wu@intel.com> To: Mark Brown MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Wed, 17 Jun 2015 00:36:48 +0000 X-Originating-IP: [211.11.155.132] X-ClientProxiedBy: KAWPR01CA0043.jpnprd01.prod.outlook.com (25.165.48.153) To HKXPR06MB312.apcprd06.prod.outlook.com (10.141.135.155) X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB312; 2:svjb8cUSEb6nOyworQ4HaLMBngKyn7yDHs/6PxrvxvBC8M6GO6PGcE+AWoADVneN; 2:O/YSQ0sFYd07WC/8eHqCvHNG6ft9pntgO/W07i/MZb3InOJZBXqLddirzUtFJY0CuQ6oLTncjjaOdil2wOGi4NlxqUbiOM4tTF6J7icA7/jmMJPcTe1jv6mgi20VcHcswROf1RsFekIrorILGNDhBw==; 6:nAxQI1xoMMPXkaxvqsfWXwqRB6r+V0k8H82oZJYx+V2tbK+szrFxmEhUnvHc8GvGfMQpLT2RoKBf23v1vCpMSRB5XvYF2VMvkTKPGS3b8+O3ySRVXqWrsZEt7sj8/o7aGRjlmnxiIiyvMiIFfZUxsxbFTRSXSOvHUK4Yk2pQxrexrWV8V9rPQ50ZUTjjOHFQr15wuuZzOQtZr5QFREiNOrRhx0we/bIFrIr9BL18nzXlORK32AnjFMFQrhEut0HGMCUGljm6zNiLbGwLjo6gr3RDkTzaES8Smn0zUTHb7xEqXhmgTK1b7rF2OVTLczxx9oWMxsS9fj+kSEoyZt1oqtc6SFupkWAjBJurid/UIQ/5uWUFHaTT9jCMQeke08HfIm+O505qF4bzrUgynu4h5cBpO1QNRb+/0kcv5mBS13iH6ZdrCNO0azJvZ8yWQJ2RXsrJBqLAYHwLHgWqgNZeDN3TfF+NGv21Ff+WXve1TnAvxBDSOyaKL0dT/uOZ9COY X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HKXPR06MB312; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(520003)(5005006)(3002001); SRVR:HKXPR06MB312; BCL:0; PCL:0; RULEID:; SRVR:HKXPR06MB312; X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB312; 3:eF9pxXlLMsBE0SU1t5tEcEchJKPJ0auHOzK9q2WHNzY9gK+axyZavJFt8oRZdtaqYTnSGzQQXc1J/R9qQbmE9ZV6+hTi1Ejtb5I6nGGp3n7cjaaUC5vC6jgbXLH4F3/JtXF/OTFDddqVbK1wFWoWVb1q+aQmKiDN+WtzcDzC9GhBLsMC2NPpWSsWOSlARbv6dC1DMszAh+qRGRlXSel47oijDO6ctIEeJrbJvxtwaNM4dCTwdP0g1vfWc3Y8sv2HWxj2gx1zrwm+fxWJjzHlnDlks5/eKTnMzL5Q9RIq+APccxsEk9nAzYd08ZuekJrX X-Forefront-PRVS: 0610D16BBE X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(92566002)(53416004)(54356999)(76176999)(83506001)(5001960100002)(50466002)(42186005)(19580405001)(229853001)(19580395003)(36756003)(110136002)(50986999)(86362001)(40100003)(46406003)(122386002)(33646002)(47776003)(46102003)(23726002)(62966003)(66066001)(189998001)(87976001)(2950100001)(77096005)(77156002)(4001350100001); DIR:OUT; SFP:1102; SCL:1; SRVR:HKXPR06MB312; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB312; 9:RrXzRiTXZ/U0tfptrf8+kdRCWn1KQ8AhwmT648K2TOyzzzT63LhnhLZduJxzpDt3GF+GdsSEhxIRohWsrzzmZcAAy0vrlwdcex2+kn0WuhWwCOS3CYylswrliF7bk/aFhgig092mRe+xUieMP0w4PvOYxe8W+bDfNf1YW2N/wn1MqM2voCCASmUJwoQEVTrQaxAvKaXZPxTYT6A7nJ5KTx6poXoBwQ2oQRDv0iEqlZp6fB1VSU2aGB4LxCwBd9P5AZjvE6RIzVBXBCRFJ9ermQOjRRG04s1wXdnclvl/T5EGtbE31CMwINfl/dQaBJGVdNhR4ayzvR2ra2u0epR8dMldXcMlETObBNKHdyf1BZvb6yVRrOeknHrYAdktrqFhkOxkkkQE9fJbPq5to6Cc7yEITmucy6eWG2+5PVmliEoSYvTiDk/b6W/vrATpmGiGJgk423HJv6QQd6wvSOMrpI+wqSL+C9S4RO2cvKhRwJtimRCZZgSjlLu9U1dnt4g2V1giLKeRTy3c9Qj2EUECvY49Tz/ODTF8IrFUqeVZnbVcujUuYVUM+A4sTNrHtViGpfw+wRtGGGJjtIZxpAgKAp9i1r60izSuDWwxugheqHsxllFIcbxW5rBMOJvkVmDZkqFdmcZhciDXeJAGnLaosTaiBj3Mv/UDfvoS9j0d73uC0PxozIispwuX2NeejKQOtqD4mPE3xKSDXc9grRNeVtn6Uku1W+9gAEG1+8PwUbKplHVEfV425tIRti4ZRylJeyVzGhT03B0vF7dk2mMzg32z2sJS/AqJ+3wJIrCJfzJy5BEAGqLNUm77SZN3pDGn3tmy3LFNY3WjkRVPKEENNgn6jsBvs0t+IrPSDIC0ZZ8= X-Microsoft-Exchange-Diagnostics: 1; HKXPR06MB312; 3:JJfUa90OExxLcHM1FpTGLLtXgLLdn0W+3OQL480i+zX7MgicVjcEF1yxuX6O2v536ZfeX4tOkpzkld7iSt5P70DVkhCE8r1R3vrCyXZHdNKG6T80B2PTVDDFfpkrfWnxCAvMP3uAd7bs4k2Kd+XOdg==; 10:nwxyANw3INJwrbbRecWFPQyIGTApKAKt/7gzGuQz74S/FzjiERq6yNVPWpNHgbS9V6Q6k5rEXZT76pl+XvvODkAmN95OKqNm0+7Nj12VKps=; 6:j/K+vrw2Auezh3xt5iwELFSGBqnU4SqnVGmbLCrLacZu3Y2IHzgt4c/9gLlK0wRWV+pRmY3RZOk+v8lBQt9UeXg/o3HsvIOuglZy8jHzXRPy6LyS9pU439THjPW1pVhCFpOGMWe2YtJL5Px2NfRtZg== X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2015 00:36:48.5387 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HKXPR06MB312 Cc: Linux-ALSA , Simon , Liam Girdwood Subject: [alsa-devel] [PATCH] ASoC: rsrc-card: remove unused ret 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 From: Kuninori Morimoto '047000278da3a17f8("ASoC: rsrc-card: cleanup for DPCM")' cleanuped rsrc-card driver, but then, unused ret was left. Below warning happen without this patch ${LINUX}/sound/soc/sh/rcar/rsrc-card.c: In function 'rsrc_card_startup': ${LINUX}/sound/soc/sh/rcar/rsrc-card.c:78:6: warning: unused variable \ 'ret' [-Wunused-variable] Reported-by: kbuild test robot Signed-off-by: Kuninori Morimoto --- 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 8caca2e..84e9357 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); }