mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] mtd: nand_orion: remove unused goto label
@ 2014-11-09 11:10 Uwe Kleine-König
  2014-11-09 11:10 ` [PATCH 2/2] pci: mvebu: Fix uninitialized variable in mvebu_get_target_attr() Uwe Kleine-König
  2014-11-10  6:14 ` [PATCH 1/2] mtd: nand_orion: remove unused goto label Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Uwe Kleine-König @ 2014-11-09 11:10 UTC (permalink / raw)
  To: barebox

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>
---
 drivers/mtd/nand/nand_orion.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 }
-- 
2.1.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-10  6:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-09 11:10 [PATCH 1/2] mtd: nand_orion: remove unused goto label Uwe Kleine-König
2014-11-09 11:10 ` [PATCH 2/2] pci: mvebu: Fix uninitialized variable in mvebu_get_target_attr() Uwe Kleine-König
2014-11-10  6:14 ` [PATCH 1/2] mtd: nand_orion: remove unused goto label Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox