From patchwork Mon Mar 4 20:09:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 159595 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp4162495jad; Mon, 4 Mar 2019 12:09:30 -0800 (PST) X-Google-Smtp-Source: APXvYqxr5pNYnZ2S5EbGvrr7T//94i5iWWb19wqBwD4Wvk6OKmYfgI0ibRIzFjHcc8Eyzchj+OtX X-Received: by 2002:a63:4a20:: with SMTP id x32mr20405714pga.429.1551730170114; Mon, 04 Mar 2019 12:09:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551730170; cv=none; d=google.com; s=arc-20160816; b=b3DDIKYqAPWkSqK1LWzzvVbOCKefGteZgtTE9jisyluVmhfeqoivPEiMvqWqcFw3NI P+WGJRYD2VJ2xyjl26YeyGrYyuy+IjVtB/lw19d/zuHvA9jc4SLV0llhqlTtfxGsJTtX j6DotK3AKGJuDEN5wcK9t+cdRv6kOwsCto0iQEFrIiOZQaqVSufK/xALlgE5VamGhw2P wUFpKzs8HoITqiTYAlgF7Oh7Py1uBzjokH93CkVVJJ2xvP9cZUWcrwSDiIXD+m3FH9Vw WY/J3EIiSYmPAW9TIl4RYxozW5eHIgAuX0m3zeHFrt02rMtuVNg4kYQ45Q45oexi6HtD kKeQ== 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:mime-version :message-id:date:subject:cc:to:from; bh=BUz6sRF4DvOqAuzaz/8nM2rLuRhNGKeUh24ofT/jVDo=; b=J/L6Rs7EdIdTcC8u/v6yuf3pdPw0KryiJpKYiehnKoxcaOSQKXIJctPLRhFQf7qrxF 6L8MHxLHfQrtpSRLEIByRc0JvC3uKyjGVz0T64KDTf/Ihb0HEzVE2OfJU9k0Yj/Nf5np i+nh7i3vMCXK5qk3T4twX8eAGojugGyJbT5hKkxnrR4PHyLyHL/Jzk+Tjxb7EoaGmPXF SzlwSHpe6gh6iF63Y8C0Th+cHW2iMIxZl1BayXts/b7wH9T8bQDvwgdS0vTgj+xqPNYt CqbSZ90s9silgjdgMhoRx9aUcnnDBrwXMJG/YE47+vWnEeF8BsA9zx1MQyO1T/A9gHNm Y7gw== 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 c197si5988623pga.494.2019.03.04.12.09.29; Mon, 04 Mar 2019 12:09:30 -0800 (PST) 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 S1726476AbfCDUJ2 (ORCPT + 31 others); Mon, 4 Mar 2019 15:09:28 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:52719 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726101AbfCDUJ2 (ORCPT ); Mon, 4 Mar 2019 15:09:28 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.129]) with ESMTPA (Nemesis) id 1MTiHd-1gX28j0HTZ-00U4kl; Mon, 04 Mar 2019 21:09:20 +0100 From: Arnd Bergmann To: "Enrico Weigelt, metux IT consult" , Darren Hart , Andy Shevchenko Cc: Arnd Bergmann , Linus Walleij , platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/3] x86: apuv2: remove unused variable Date: Mon, 4 Mar 2019 21:09:07 +0100 Message-Id: <20190304200918.1444050-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:1ph8MhilKDjqsuDHxM5THpEkakWPf0W8D0IBCkP26audtK5Gg7p qsG1AMBA0KHL46VmKXyJOU/Oaay7MqtnTvpNBUey+nVKcD8EcEx1AUymEKF5gsZpwB88TRS QGw3WJX8vceMtZ3E6S+FOt/kCGLsY0fNQAuN/gnzgWVVJc29DV2QQcHjtoB8MrPRTW9KRJr lw4bqKu0P60lkLX3aVTrw== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:0uMKnTmho+0=:B4ucVYl0l1uDxXqq/UVxtj jJhaQNC81NbF9Oi8vWeGzIDOv6RvGwUI2eDVte59RmBq3Mw/8ZYgj6ehcnKObRP7xkflpApHu ftJpaTc6mpJCDR3VyGlfiSPKKm2IgFJPK8thdYumHMnCdXhfPUxHM+YBxDCgDcAfMvCNIDO+o /Jk8LqY1Qm+/WvdU39iJfoehzpX7Yu8fGLodkZwnrBxCD7TprSK27Lyv35NJvWXVjzupa+w86 DQZRiXk2/O+bJQss7Y79Qk+RGWGudsjQVjHlZnR2AMl3982D+nA9vKA+mH27PocUNuS5MTnia B9nN4GbSHQdtBxRho81FddirCiDsxARK+RxQcZBoBtvx6nYYGGrEfKgdCf/6S/3fDCM5lv9fU yxVsVvsjU9O62GOKh2hXwNF+B7+OKswsgf6pkjRFDXalakv0zFz8cixdYqcKscuZyrEVkfnyb XCmD9l9TSfu48JvwOkvHhesFU435GN+QDl8ypg2ILhIVPioSXSDWqe49ZIhwFq7M86E9Vi4TJ h6rCw8PiJRGWukl1rZ4IQNxSh1neHvjQcx96i/dQ5iIKCIHInZ23ifiO70Z5Csa0UkuROO1nc sMUidLtIGqSc5F1ZcrfzW3z/+lqesufQI4px3uqY7nnYOBqIkEn36pWAX4D/iVj5Op6XtH6n7 E8exHAvDYLbyiZ8kZsXzLG2dgaIgVV654UjwZvVEC/vZk1CdItkxjxMbxsDE78VqihOn6TyKu 8ZAE3QZjSpRNCnPSnLuusFj/TUOiLus1sMOYgw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The driver was newly introduced but the version that got merged produces a harmless compiler warning: drivers/platform/x86/pcengines-apuv2.c: In function 'apu_board_init': drivers/platform/x86/pcengines-apuv2.c:211:6: error: unused variable 'rc' [-Werror=unused-variable] Remove the evidently useless variable. Fixes: f8eb0235f659 ("x86: pcengines apuv2 gpio/leds/keys platform driver") Signed-off-by: Arnd Bergmann --- drivers/platform/x86/pcengines-apuv2.c | 1 - 1 file changed, 1 deletion(-) -- 2.20.0 diff --git a/drivers/platform/x86/pcengines-apuv2.c b/drivers/platform/x86/pcengines-apuv2.c index dcb084f6b892..c1ca931e1fab 100644 --- a/drivers/platform/x86/pcengines-apuv2.c +++ b/drivers/platform/x86/pcengines-apuv2.c @@ -208,7 +208,6 @@ static struct platform_device * __init apu_create_pdev( static int __init apu_board_init(void) { - int rc; const struct dmi_system_id *id; id = dmi_first_match(apu_gpio_dmi_table);