summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-06-17 14:55:02 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-17 15:07:42 +0200
commit5669245b57df8a0edae475e06d1b851729a21457 (patch)
treea6a54a4f3b778df45bec5546153da8346c06add6
parent129fb4cb3b6a352a1ba3e9b4d2c41fbfa06f28a2 (diff)
downloadlinux-5669245b57df8a0edae475e06d1b851729a21457.tar.bz2
ARM: omap1: remove unused variable
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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/arm/mach-omap1/clock.c1
1 files changed, 0 insertions, 1 deletions
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)