[PATCH 13/13] driver: remove unused type_data field from struct driver_d

Sascha Hauer s.hauer at pengutronix.de
Sat Feb 25 10:51:10 EST 2012


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 include/driver.h |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/include/driver.h b/include/driver.h
index 51d6393..3c2fd56 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -120,12 +120,6 @@ struct driver_d {
 
 	unsigned long type;
 	struct bus_type *bus;
-
-	/*! This is somewhat redundant with the type data in struct device.
-	 * Currently the filesystem implementation uses this field while
-	 * ethernet drivers use the same field in struct device. Probably
-	 * one of both should be removed. */
-	void *type_data;
 };
 
 /*@}*/	/* do not delete, doxygen relevant */
-- 
1.7.9.1




More information about the barebox mailing list