Linux-ARM-Kernel Archive on
 help / color / Atom feed
* [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 <>
 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)

linux-arm-kernel mailing list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

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

Linux-ARM-Kernel Archive on

Archives are clonable:
	git clone --mirror linux-arm-kernel/git/0.git
	git clone --mirror linux-arm-kernel/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-arm-kernel linux-arm-kernel/ \
	public-inbox-index linux-arm-kernel

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox