summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/nand_orion.c
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2014-11-09 12:10:31 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-11-10 07:13:18 +0100
commit42bc1ac850707eec935803d5a1a573ebfc5e3012 (patch)
tree3e389ca40ad13d29ff595a66270aee84b1106734 /drivers/mtd/nand/nand_orion.c
parent0ae26a7ea459d239868b595a26873be7f50f0551 (diff)
downloadbarebox-42bc1ac850707eec935803d5a1a573ebfc5e3012.tar.gz
mtd: nand_orion: remove unused goto label
This fixes the following warning: drivers/mtd/nand/nand_orion.c: In function ‘orion_nand_probe’: drivers/mtd/nand/nand_orion.c:145:1: warning: label ‘no_res’ defined but not used [-Wunused-label] Fixes: 1a215f5 ("nand: Add Marvell Orion NAND driver") Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mtd/nand/nand_orion.c')
-rw-r--r--drivers/mtd/nand/nand_orion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_orion.c b/drivers/mtd/nand/nand_orion.c
index 2c9707d..fe06ef7 100644
--- a/drivers/mtd/nand/nand_orion.c
+++ b/drivers/mtd/nand/nand_orion.c
@@ -142,7 +142,7 @@ static int orion_nand_probe(struct device_d *dev)
no_dev:
if (!IS_ERR(clk))
clk_disable(clk);
-no_res:
+
free(priv);
return ret;
}