From patchwork Mon Mar 4 20:19:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 159597 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp4172043jad; Mon, 4 Mar 2019 12:19:47 -0800 (PST) X-Google-Smtp-Source: APXvYqwFSJJzUrVvBMyw5FJGVKIBBQCgQf3mhR89zwXmtJ1uyxlZyTIXbh42pe9wYEpg82gQ9xYP X-Received: by 2002:a63:e206:: with SMTP id q6mr19752066pgh.87.1551730787249; Mon, 04 Mar 2019 12:19:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551730787; cv=none; d=google.com; s=arc-20160816; b=HQ0kw9M878A/QJ9nbyKWJ8tn394oJnakTu2a65/xLS01bHYBCDbkXmXjqbJAcNBeT/ EocI+OaCOL68oowJybOz7tKBaynueW+/XMlSKBB8Ws8ukiEWA3LdRAcCyds4aPeoKtG5 flPKi1xSU+Zr2559ijtstP7llODbJ+V+I/4UT7Vn6jI1kmeEehSxxGGrFfvfHqZUaEPl vfi9bmta0qU08dEFm2cwyJQUog176OBjaQPz0lSA7f5UOLccNfJUc+g6tY6GFAicMjDd V6gDdxpFKe/XEJasA6fnWfAXUPgvU1N6ZlV4kJ0BO/94nFb++iNIuLc+YG488uv7auoa j+Hw== 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=f1m68VbcvqlXdBNaW8lTj2YXUVxw3zfWKScmWl9/yhbF+MSNyuw8kLtq9Lhy2Pl5Pc 9Paqrv+iXd0DrEQfWS9HI/9iA8T88TpjSNoaKSTablyvo8ZjhLlTUtcoOW4nLMRd7Tdh 6HJlzi1xbRZEf3QdPEBEYnZ/hAVcZcggVZcsXKErcf3lN4FNf0C7VCe/zQbzeUXODk4F BL2YAjXDFIkkC47/7YV0qhtGbR2O4tSG8aznskojpVY+48YuieY/sTNo04ZOAFGsx3NH nmZJRIJ5iHwdW6PExFyK1R6TmJw2QsiGiJWpk/qlKG68LOqg6QS7sZHGsL7KXnnO5xnw NJjg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-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 f89si6762956plb.20.2019.03.04.12.19.46; Mon, 04 Mar 2019 12:19:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-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-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726066AbfCDUTq (ORCPT + 5 others); Mon, 4 Mar 2019 15:19:46 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:56693 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726038AbfCDUTq (ORCPT ); Mon, 4 Mar 2019 15:19:46 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.145]) with ESMTPA (Nemesis) id 1MbAUg-1hXkuF3S0m-00bZFT; Mon, 04 Mar 2019 21:19:35 +0100 From: Arnd Bergmann To: "Enrico Weigelt, metux IT consult" , Darren Hart , Andy Shevchenko Cc: Linus Walleij , Andy Shevchenko , linux-gpio@vger.kernel.org, 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:19:19 +0100 Message-Id: <20190304201930.1622839-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:pHrE99LD4Az19jjq1RhzvjHdL9Am2S8ct42IpJYIyShcAj8j0iZ r2pQv5FzE8vV5r4fegmHgWct+3GHGV4OCkR1xTOJjdLsYJAwIdBJ9A9gLIpEH53x5iEJPE6 fZ49UGI8JoPJHIsgdFheEIiKCtCpOO1h3M9fgWJMHxSWpHlc0s+JtMQs62RO5miDyOHodw8 Mf9UG8EKEPKr0Q+6NGTlA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:/pFOLIY+nbA=:4HiDGKoz2TZWstJ0S3n+jX FYxCXB+yTQZJJnPg5B/Y1Gfqd6M5QAnysAOOkLV5aOros6IEI1dzrvU50hURojtbG+E0XT/EI OduWxBBMLC0WHs7mS/4QQJq/6l694jQknerWAS0b1T3ynXBs9W7Ru1aKg0V2yKi0b46NeAowK Rq74CrfU6ANsN2/3F1WvnKwH5SEQo5oMEZ9+8RQY5pEKCjNUPC3+BQN6l/mKY/4nUZF1EYFmu 1Y9AlGfbfvj6qoUZu7xMasY0B0NbFSHtgOqrAQPtqKRDbhELBsoOudP+NUeCTfgRbYe8ugUKq g7LM/AfPPF1/AJZHCzIYjR/XN/8CiJXB/oSoryVGB7j2OVkmqD1ihLOQPjgDnlHqP9JhnKI37 Psp5LyDgIi0N6p5o5ewjomdUAbAJX5suojcoZLCDUc2Am9Wha/hYgNZT8+BC3TX2fgmuZR2Ii tjsbCADH7OajN5OW3HwCvyWOxGWcZx3AxkYMGNfKBLGTzN10Z4eJF86vBmlc76t7KG/KjR6+a IvfeZX9jsDZCni5ldktrNVVFhOwtwhf50mmNU4oHpB7Igs0++j92hw+n4WurBXhO2uy1XTFZX 5/9QnqfMRP3JOb/9IU8eagMu9pgYyyYbIAMCbdXqYIek+21ZkzPX3U2YRVHW1fM6apBbJlYbI fdxXR6vPdXX3Lrx0g0hcpSjxbFpCtaXiD5NDPtlen0Y+akZA7g8v9n3zzb1R93Fhn6VWVEugw PE8bArLkAdwzmFiCE3TgTFiI/efVxKQSaxymQNMnrpsPlBL41IsbKOp5TEszHDPOBZjUvlWxt gJGSIQC6F6VhNL+iTwAknsMZHsdj+U/8G723JqR7ZjDps2qzjnrwhvrvNhccVmtO0x0Lya/y6 10hiFTdWQCkd2V85iP3x1twJb3WQ8OlajvSw+ifs4L5Qldnn5hARlTbaZtIRNu Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@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 Reviewed-by: Enrico Weigelt, metux It consult Reviewed-By: Enrico Weigelt, metux IT consult 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);