diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2015-04-15 22:43:59 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-04-17 07:31:35 +0200 |
commit | 724d8847ed3783d49a5acbf35a5c6b60abe5afa0 (patch) | |
tree | 4fb4d610c7c273669882d37a23da33bdab9bf850 | |
parent | fd678c4973ceae400b13f6279a048ae7bc80baf7 (diff) | |
download | barebox-724d8847ed3783d49a5acbf35a5c6b60abe5afa0.tar.gz barebox-724d8847ed3783d49a5acbf35a5c6b60abe5afa0.tar.xz |
environment: remove unused code
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>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | drivers/of/barebox.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/of/barebox.c b/drivers/of/barebox.c index 224674240e..0220bc6b31 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; |