summaryrefslogtreecommitdiff
path: root/drivers/regulator/dbx500-prcmu.c
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2020-08-21 17:48:23 +0300
committerMark Brown <broonie@kernel.org>2020-08-21 19:38:49 +0300
commitc0e53a448637366064d4b9ce586b68ced679cd22 (patch)
treee4a3c65e49f8c78ac00f2aeed75a0c7613da062e /drivers/regulator/dbx500-prcmu.c
parent02532cb80543b50611656a6017bfec7477e2e200 (diff)
downloadlinux-c0e53a448637366064d4b9ce586b68ced679cd22.tar.xz
regulator: dbx500: Remove unused debugfs goto label
The following build warning is seen after commit 8bdaa43808b7 ("regulator: dbx500: no need to check return value of debugfs_create functions"): drivers/regulator/dbx500-prcmu.c:144:1: warning: label 'exit_no_debugfs' defined but not used [-Wunused-label] Remove the unused label and its associated error message. Fixes: 8bdaa43808b7 ("regulator: dbx500: no need to check return value of debugfs_create functions") Reported-by: Olof's autobuilder <build@lixom.net> Signed-off-by: Fabio Estevam <festevam@gmail.com> Link: https://lore.kernel.org/r/20200821144823.13404-1-festevam@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/dbx500-prcmu.c')
-rw-r--r--drivers/regulator/dbx500-prcmu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/regulator/dbx500-prcmu.c b/drivers/regulator/dbx500-prcmu.c
index 7395ad2105ab..8b70bfe88019 100644
--- a/drivers/regulator/dbx500-prcmu.c
+++ b/drivers/regulator/dbx500-prcmu.c
@@ -141,8 +141,6 @@ exit_free:
kfree(rdebug.state_before_suspend);
exit_destroy_power_state:
debugfs_remove_recursive(rdebug.dir);
-exit_no_debugfs:
- dev_err(&pdev->dev, "failed to create debugfs entries.\n");
return -ENOMEM;
}