* [PATCH, for GregKH] ARM: omap1: remove unused variable
@ 2019-06-17 12:55 Arnd Bergmann
2019-06-17 13:07 ` Greg Kroah-Hartman
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2019-06-17 12:55 UTC (permalink / raw)
To: Greg Kroah-Hartman, Paul Walmsley, Aaro Koskinen, Tony Lindgren
Cc: Arnd Bergmann, Kevin Hilman, linux-kernel, Russell King,
linux-omap, linux-arm-kernel
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 <arnd@arndb.de>
---
arch/arm/mach-omap1/clock.c | 1 -
1 file changed, 1 deletion(-)
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)
--
2.20.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH, for GregKH] ARM: omap1: remove unused variable
2019-06-17 12:55 [PATCH, for GregKH] ARM: omap1: remove unused variable Arnd Bergmann
@ 2019-06-17 13:07 ` Greg Kroah-Hartman
0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2019-06-17 13:07 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Paul Walmsley, Kevin Hilman, Tony Lindgren, Aaro Koskinen,
Russell King, linux-kernel, linux-omap, linux-arm-kernel
On Mon, Jun 17, 2019 at 02:55:02PM +0200, Arnd Bergmann wrote:
> 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 <arnd@arndb.de>
> ---
> arch/arm/mach-omap1/clock.c | 1 -
> 1 file changed, 1 deletion(-)
Oops, sorry about that, odd that 0-day never reported it :(
I'll go queue this up now, thanks.
greg k-h
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-17 13:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-17 12:55 [PATCH, for GregKH] ARM: omap1: remove unused variable Arnd Bergmann
2019-06-17 13:07 ` Greg Kroah-Hartman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).