Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp2815371img; Sun, 24 Mar 2019 20:04:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqy7Su1JQ/eCBkSWxIPo4pc04bREZG9lV2dimGc2bRMXoMH76e+fOabUM/OKPEqCAoBugnby X-Received: by 2002:a63:6949:: with SMTP id e70mr21018422pgc.89.1553483088614; Sun, 24 Mar 2019 20:04:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553483088; cv=none; d=google.com; s=arc-20160816; b=BTZ+AA7N5/Alsl2Xr6FhOKuUdvHVcqXZ3KC44f0oySVHrXDHLt5dh/7z8UbWk8fL3i NT2I3i6Zs5tBux07LI6sM8o7jVtYLaEbGk4FIysR+9C2tw/hE597OICKm+0I6g/U0wU9 E+HBCTnveZE8oLbOgHJ2tcI0tWad+gt6ZkeaYqakDya0y9hHj1hGiK8BhlTui6euPutn 4kbxwMuVkvOOU4TjvUC/yvMkxytKuiSZ7ZFFSMtYElOZnT6fboaCp9Z+oY4tkaDN+9a1 fM3K+Gj2d+FwEXnxuOjEZOFDvwlwIUmF8g3ff/Ui3Bmtv/9g10BmLivcX0qz4Mzhp4k8 +k0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=R0fYG8ZQt7N3UGHqPcjcjetqe3vn442Ho5SiV/B/Nnk=; b=sAnP+/LMPdGqN6TTdDzoek0GW9LTUS25DW42mtSeXNlF8l1HOYWjx9FFaiBSekJhG/ G6zGNZ1FvPC0XJ5ng2hzq0Yz4sZhovThZMgEeR9u2VO0gtOv9iqiINpXpK5EdVtbJ7sw SzeFqMaroIZBqBmCiXTT4HozBgeuLwQia8eM/ubaFtvEHs2QopCCXBzGey2mSwyJIoec tVmPSwCvpamC7Ty74qQWRM7Y/TFKZDUKE6jaq6kxYKC3QXxNe6a2dh1fbvlWCuIz8jJy ATBXPEMjcyLegjkeyGBENni/2QCl7bhFJTG9hUiL7lGyWP3MNi9wdehD0HwGXK4TFIEN eYwQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 193si2209196pfv.108.2019.03.24.20.04.22; Sun, 24 Mar 2019 20:04:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729350AbfCYDDY (ORCPT + 99 others); Sun, 24 Mar 2019 23:03:24 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:60934 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729285AbfCYDDY (ORCPT ); Sun, 24 Mar 2019 23:03:24 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 150B9484E29389A54F05; Mon, 25 Mar 2019 11:03:22 +0800 (CST) Received: from [127.0.0.1] (10.177.31.96) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.408.0; Mon, 25 Mar 2019 11:03:19 +0800 Subject: Re: [PATCH -next] ASoC: simple-card-utils: remove set but not used variable '' To: Kuninori Morimoto References: <20190323020838.107533-1-yuehaibing@huawei.com> <87a7hjitm0.wl-kuninori.morimoto.gx@renesas.com> CC: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , "Katsuhiro Suzuki" , , , From: YueHaibing Message-ID: Date: Mon, 25 Mar 2019 11:03:18 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <87a7hjitm0.wl-kuninori.morimoto.gx@renesas.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.31.96] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019/3/25 10:31, Kuninori Morimoto wrote: > > Hi > >> Fixes gcc '-Wunused-but-set-variable' warning: >> >> sound/soc/generic/simple-card-utils.c: In function 'asoc_simple_parse_clk': >> sound/soc/generic/simple-card-utils.c:164:18: warning: >> parameter 'dai_name' set but not used [-Wunused-but-set-parameter] >> >> It's not used since commit 0580dde59438 ("ASoC: simple-card-utils: add >> asoc_simple_debug_info()"), so can be removed. >> >> Signed-off-by: YueHaibing >> --- > > I think dai_name parameter itself is no longer needed for this function, > but, it will be removed if all driver switched to modern dai_link style. > So, it is not a big deal. > > Acked-by: Kuninori Morimoto Thanks, yes, this just a code cleanup. > > Best regards > --- > Kuninori Morimoto > > . >