mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] environment: remove unused code
@ 2015-04-14  7:18 Marc Kleine-Budde
  0 siblings, 0 replies; only message in thread
From: Marc Kleine-Budde @ 2015-04-14  7:18 UTC (permalink / raw)
  To: barebox

This patch removes the LIST_HEAD of_partition_list and a struct definition from
the code. This was present but unused, since the file was added to barebox.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
 drivers/of/barebox.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/drivers/of/barebox.c b/drivers/of/barebox.c
index 224674240e7c..0220bc6b3123 100644
--- a/drivers/of/barebox.c
+++ b/drivers/of/barebox.c
@@ -26,15 +26,6 @@
 #include <envfs.h>
 #include <linux/mtd/mtd.h>
 
-struct of_partition {
-	struct list_head list;
-	char *nodepath;
-	struct device_d *dev;
-	struct device_node *of_partitions;
-};
-
-static LIST_HEAD(of_partition_list);
-
 static int environment_probe(struct device_d *dev)
 {
 	char *path;
-- 
2.1.4


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-14  7:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-14  7:18 [PATCH] environment: remove unused code Marc Kleine-Budde

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