From 724d8847ed3783d49a5acbf35a5c6b60abe5afa0 Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Wed, 15 Apr 2015 22:43:59 +0200 Subject: 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 Signed-off-by: Sascha Hauer --- drivers/of/barebox.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'drivers/of') 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 #include -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; -- cgit v1.2.3