Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1780868imm; Thu, 27 Sep 2018 02:21:36 -0700 (PDT) X-Google-Smtp-Source: ACcGV634200RfvbCVqrFOwXO8nmxBwI5h3j3wc4xYv1uSb8pieWAepIcEir7JFMTnux+X+WZT1Sz X-Received: by 2002:a63:184a:: with SMTP id 10-v6mr9292244pgy.81.1538040095962; Thu, 27 Sep 2018 02:21:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538040095; cv=none; d=google.com; s=arc-20160816; b=GC5VgDyZ5VXV+pjvlKRXV7rIkNAMLMXSELRUK96SEhABpLq/K4b3N69BaPeIYnRfdO wvWeKzU1ZS/7ZTOiScRQdcDwF3mQAGGq31aHmNgPca3I20zCzMSJE9+uA+yIC57MxmT4 0GL9ScvUtDTctWWUAc7VqkrB7N25SutzjrDMuC71QzMmZzZVrSj15NFyzfR2V3GTSs89 2VKu6EUVpX6LRyC+g7yVz5bGV09oRU3XMlxLxipuelD8GCj3UBd4Y4FqfYrvsYDMFE+a wvvpEDas+a6vBx0TOq2g+RZf56i2fRwXQ6Xlv9F7jx7Rk7guyVxy+xLDoK7cJ8+Fvsty GubA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=tWYyi11aiZogTNRcVLX2K0NtkPFJZKjST2OfZgFt7+8=; b=DOjeje+yDQyeI060Q75Rrt1MOsS/PNptb9t79RwrM2wAmap9wbctS+sWq+NmjmRP/O tgQSRlChje7w+KfT33FA7Rrq0nXoLat2f0ZREtPMnNHcyyqu5jZtIe+zZQkH6l8vXulz F4QufhoyrDHO9bmkzxqBKOKNNF/Pa+GMI6tldfAp5f/QjjdBc5UXSQYmEfQvhRrAgpLt DwoImcZW0V0yFL95jycEKTCxYnWJc0SWB96KO430TknLbYy07BP28M1xf9X8NVfYPQUY ZhkFuay7jmQnVdSvm8MQ2e/1GRfIbSShSHcpmL4XJWHqSdpABQL0IiPs72/6VH69dISx Mb7Q== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m5-v6si1456174plt.417.2018.09.27.02.21.20; Thu, 27 Sep 2018 02:21:35 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728889AbeI0Pe4 (ORCPT + 99 others); Thu, 27 Sep 2018 11:34:56 -0400 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:50176 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727272AbeI0Pez (ORCPT ); Thu, 27 Sep 2018 11:34:55 -0400 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8R9EGR1024495; Thu, 27 Sep 2018 04:16:37 -0500 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail1.cirrus.com (mail1.cirrus.com [141.131.3.20]) by mx0b-001ae601.pphosted.com with ESMTP id 2mnj5p0aem-1; Thu, 27 Sep 2018 04:16:37 -0500 Received: from EX17.ad.cirrus.com (unknown [172.20.9.81]) by mail1.cirrus.com (Postfix) with ESMTP id AD6B5611C8B4; Thu, 27 Sep 2018 04:16:36 -0500 (CDT) Received: from imbe.wolfsonmicro.main (198.61.95.81) by EX17.ad.cirrus.com (172.20.9.81) with Microsoft SMTP Server id 14.3.408.0; Thu, 27 Sep 2018 10:16:36 +0100 Received: from imbe.wolfsonmicro.main (imbe.wolfsonmicro.main [198.61.95.81]) by imbe.wolfsonmicro.main (8.14.4/8.14.4) with ESMTP id w8R9Cu73008850; Thu, 27 Sep 2018 10:13:25 +0100 Date: Thu, 27 Sep 2018 10:12:52 +0100 From: Charles Keepax To: Arnd Bergmann CC: Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , "Marcel Ziswiler" , Kuninori Morimoto , Robert Jarzmik , Fabio Estevam , , , Subject: Re: [PATCH] ASoC: wm9712: fix unused variable warning Message-ID: <20180927091252.GP1653@imbe.wolfsonmicro.main> References: <20180926193750.2468414-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20180926193750.2468414-1-arnd@arndb.de> User-Agent: Mutt/1.5.20 (2009-12-10) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=799 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809270095 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 26, 2018 at 09:37:40PM +0200, Arnd Bergmann wrote: > The 'ret' variable is now only used in an #ifdef, and causes a > warning if it is declared outside of that block: > > sound/soc/codecs/wm9712.c: In function 'wm9712_soc_probe': > sound/soc/codecs/wm9712.c:641:6: error: unused variable 'ret' [-Werror=unused-variable] > > Fixes: 2ed1a8e0ce8d ("ASoC: wm9712: add ac97 new bus support") > Signed-off-by: Arnd Bergmann > --- Acked-by: Charles Keepax Thanks, Charles