summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-11-26 11:57:00 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-27 14:39:33 +0100
commit41c70383948246d0436d3494eb8b952916f2e6c7 (patch)
tree2389ab0eafaf8fd49ca87f30c7fb8b9ab4f21c77
parentbafb8da8e48716810331ecbd78dee7e2912d1c3e (diff)
downloadbarebox-41c70383948246d0436d3494eb8b952916f2e6c7.tar.gz
pstore: remove unused goto label
Previous refactoring removed jumps to fail_clear. Remove it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--fs/pstore/ram.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c
index 86049f9..b968579 100644
--- a/fs/pstore/ram.c
+++ b/fs/pstore/ram.c
@@ -646,7 +646,6 @@ static int ramoops_probe(struct device_d *dev)
return 0;
fail_buf:
-fail_clear:
kfree(cxt->mprz);
fail_init_mprz:
kfree(cxt->fprz);