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: d5ddd5a517 ("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>
This commit is contained in:
Arnd Bergmann 2019-06-17 14:55:02 +02:00 committed by Greg Kroah-Hartman
parent 129fb4cb3b
commit 5669245b57
1 changed files with 0 additions and 1 deletions

View File

@ -1005,7 +1005,6 @@ static void clk_debugfs_register_one(struct clk *c)
static void clk_debugfs_register(struct clk *c) static void clk_debugfs_register(struct clk *c)
{ {
int err;
struct clk *pa = c->parent; struct clk *pa = c->parent;
if (pa && !pa->dent) if (pa && !pa->dent)