From patchwork Mon Jun 17 12:55:02 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 167021 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp2827722ilk; Mon, 17 Jun 2019 05:55:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqzA8djsJ6beeR0U+emUBv7Y3fEgfMAvC88uqxnnK9f3EE/Ks0D6C0C69LJNgoDiZ1nY2rpe X-Received: by 2002:a17:902:7591:: with SMTP id j17mr108589438pll.200.1560776146080; Mon, 17 Jun 2019 05:55:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560776146; cv=none; d=google.com; s=arc-20160816; b=HPdCc5Ch9WxLElGIdp/RckmAjtPPo7Ispwr23GP/Qz29SM6KrMjZjIxvZOZP6JDQKk FCDULmjOs9TZOy05Sf00enayNjFDA9vj62P61exroD5/ynW7LzVUQ8Z31I7qyz4heAeD 2xc1oJ+vDoQJ9SQrKFxDQIngKPZCAW+CzJ1FEU/XVoW57ALPWNY5ILge8ZwSbeKORgPi 1hi74vgBMsHKPTMvfCD+GV6kuEd9yRWzZ7uma0MioS61jvBa0sbjNdVFDx2vY3PjdcVC unxyv9t98lxesZKEXJv8eXSrnwqoP9d4sTqyefIi7FaQEcX2U6RktkjfCTD0Yg8SwvV7 Jltw== 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=GPGyY3NOvb+JJF3xNu20EZigwISrowZxbl9ua4/5504=; b=Oc9KPmCah39+5oxwmL//p3YTbv2A8Eyx/LvoBfIU+B+mVGDfzrUH/+nzOb4MlLDvBt bBfHc89TQzmFXLIvvxLI6meLeII4X/xynAHI3bEOYmWlu0wBfFO4eRdrnNE2SPYaishS gwuVmfC6lJhQvEl1w8LZDMZ0AnyPeznF2lWn0I0P/E7V7uowX9CObrGY31eMOzWuGU3z CxBUzQgTScO1nPM/LyQqqa4eOv/RrJ5slI1WMKTXbyuYRVilYEQy7C1Kfy8cSplTBnFT vdbLfKjJQOn9LkTB++2QvHMrfch5kMGDXopx4hWgvmW4z1Z3qtN06gb5Hf12B3BlgQOd X1YQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-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 b20si9572531plz.314.2019.06.17.05.55.45; Mon, 17 Jun 2019 05:55:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-omap-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-omap-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726028AbfFQMzo (ORCPT + 5 others); Mon, 17 Jun 2019 08:55:44 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:45045 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727921AbfFQMzo (ORCPT ); Mon, 17 Jun 2019 08:55:44 -0400 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1N3KgE-1ibs0F23KE-010PaW; Mon, 17 Jun 2019 14:55:25 +0200 From: Arnd Bergmann To: Greg Kroah-Hartman , Paul Walmsley , Aaro Koskinen , Tony Lindgren Cc: Arnd Bergmann , Russell King , Kevin Hilman , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH, for GregKH] ARM: omap1: remove unused variable Date: Mon, 17 Jun 2019 14:55:02 +0200 Message-Id: <20190617125521.1553103-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:5sZGK4gs2Z6lmbY+AZRULzOzFNndqrsR+LR3N/b8eoORxP0RDRK 4cwluOKmjFxZCnLo2qjBpxUUor/ZXJ6iEOFu4JpoLJpxM9m4apj+ajihoQh0JF6jBNqRUk6 6PPyM14TQksrd7+xKxkYUtkmSnkp4rcQ+bNDJB86ByweuvD+ZWfuaaSvro2a99gv7/O6PtM yrVhks6FHyXfuGJOb8tkQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1; V03:K0:vOzSgpnzn8Y=:1UhMFQ7PRhzaTbKtTHzgsT 5+AiVHzBehXpewrih74danSoQRVN7gVvj2LwcJMjovTHaV/Wyw4ViTKEqbVzd4scs1XsCGzO1 Uf0MYtPBFdXpjUY7EdnT9n/Sx3X9ZEv8buU8UjwG9r3csAMpb2DG0k+A8Vwe8WtV+JBbW4hKF kkQSzdm3YZz5daeUE8MxrYUfJlpl8jXHmlR9FAsDz748cfxqiwvYi7r6d3oGWCa9krHTvldF9 ifuTXbZZ6/s9zRxzsA0Iw+lbc7b4iW+MWhBp6MF/HOakiWDQvowMgPEK9q6cGqiJmA60GqvJk 27fGHmd3qp997d5pGrZUgbUtg+9eRe65Pi4CC42FghZ/FqHhAtMjHZz2YdVhUReZ51Ju0jOxW iK6OrUR3wNTS0Of90ifwvPRkTzJ3uXQESeImSIeNO+VSFjTJJ3AffNyJfV7moQF4BdCeZn9pb hCStqGC+UbBGwjmOi/U1OhkYFluLjG46BwkaFV70Qkk4z8Xe8AyUaKfreqTQweEvBWTN5djKA Knz3ZQT13EC/45cg0E+EsVNclYxV0dkG/qNoIe3nZ7SUde5whaJV4E2nZbdFCaOILpylFzyRz jtB/qrS5wmw9P6iKCkc6aUzpkp5z1xXHXycv695xZdFIBNC5BkoTM+Xsykg+Io46UGfoQ0oux s4vvsz8urhMUWnUF5BGBe7aAfYcI2fUWZc7SkLo1iRfeIgzBA5Vu8dsZ8s421DQ22epTb8HCj uwKQnAgsCRwDixLu77x5b2TVETajW7qitnG9hA== Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org The cleanup of the debugfs functions left one variable behind that should now be removed as well: arch/arm/mach-omap1/clock.c:1008:6: error: unused variable 'err' [-Werror,-Wunused-variable] Fixes: d5ddd5a51726 ("arm: omap1: no need to check return value of debugfs_create functions") Signed-off-by: Arnd Bergmann --- arch/arm/mach-omap1/clock.c | 1 - 1 file changed, 1 deletion(-) -- 2.20.0 diff --git a/arch/arm/mach-omap1/clock.c b/arch/arm/mach-omap1/clock.c index 3d7ab2bcf46c..a5a50efc8e17 100644 --- a/arch/arm/mach-omap1/clock.c +++ b/arch/arm/mach-omap1/clock.c @@ -1005,7 +1005,6 @@ static void clk_debugfs_register_one(struct clk *c) static void clk_debugfs_register(struct clk *c) { - int err; struct clk *pa = c->parent; if (pa && !pa->dent)