diff options
-rw-r--r-- | drivers/clk/clk.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 7ba02e52c554..30fff56e1f15 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -343,13 +343,9 @@ unlock: static void clk_debug_unregister(struct clk *clk) { mutex_lock(&clk_debug_lock); - if (!clk->dentry) - goto out; - hlist_del_init(&clk->debug_node); debugfs_remove_recursive(clk->dentry); clk->dentry = NULL; -out: mutex_unlock(&clk_debug_lock); } |