Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp2721232imb; Mon, 4 Mar 2019 12:20:34 -0800 (PST) X-Google-Smtp-Source: APXvYqxD9VlySZ2s/+QQ1BxcHBMuHcbj/cu6J+NCHNLc9aQCqUDyVk5k0eINND3HfYd3O1TV1tGB X-Received: by 2002:a62:ea10:: with SMTP id t16mr21320319pfh.3.1551730834384; Mon, 04 Mar 2019 12:20:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551730834; cv=none; d=google.com; s=arc-20160816; b=ua5i/Orm712mAFBwIYWi4ERB/wvJhUKtedt1/VomxGDB0A5m0nkoPGGTxtCP7XWe6I ZT0KnfdI4HOeJhKWId3bsukKALvnlqQ43D/Bl1T1w82Ef2Ct8kaR6aUy0x34NlTNOzC+ t3QALydH7/DwXIiti+Ay9uqwaCKdyuekbeOHU29Y35yyJCn1uYvGBmN9KK5nEZcwJOM+ //SzI60BOCXBV7QRkFsdiJrXbCUwZPR6io20wkaNF21R6LObTtP4LPvJ5pCgnFmunktx Os06Y8i+p7Lbck/fE22i/vhpDMLPdwLhWSB5OQGbL3ACkrimIfiNWS4+UsIMByv8FIiG d2Sw== 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=jkp566AAuqdpHmK1mJac9Iw8d8D8yB+jaSmrFCDQbUB7vxQu7wHeT2XdXLu+xAKimh A/qO7ErYC/9Gl09JyN+0VIi6jhKKaNMPQq7NVeKeLZuxhHbLlhcHiD6eW8eqh77K2qCU YQwmKZPLEqypKrIvJE8wZK8TFfDetFOOvpaK62JVO3c/eTFCGBmdYB4xj/murwcEiUMB P2IlwIlKV921APxJXBFIfdGPnpH7XspkyJeKm7i67YYmQurhfkxw2yq7Ymu/RIwo6dZN tIK4Lcw41MZmVIlYPtqCkKPKTGsIQPHbOI8AZQHPzusAZ/w0Jk869lyHYjn5yfp6CAFH VkKg== 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 k71si5919121pge.507.2019.03.04.12.20.18; Mon, 04 Mar 2019 12:20:34 -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 S1726172AbfCDUTq (ORCPT + 99 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 Content-Transfer-Encoding: 8bit X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I/efVxKQSaxymQNMnrpsPlBL41IsbKOp5TEszHDPOBZjUvlWxt gJGSIQC6F6VhNL+iTwAknsMZHsdj+U/8G723JqR7ZjDps2qzjnrwhvrvNhccVmtO0x0Lya/y6 10hiFTdWQCkd2V85iP3x1twJb3WQ8OlajvSw+ifs4L5Qldnn5hARlTbaZtIRNu 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(-) 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); -- 2.20.0