[2/2] of: remove unused struct device_node.data ptr

Message ID 20170720142711.12847-2-robh@kernel.org
State New
Headers show
Series
  • Untitled series #2944
Related show

Commit Message

Rob Herring July 20, 2017, 2:27 p.m.
There are no users for data pointer in the kernel, so it can be removed.

Signed-off-by: Rob Herring <robh@kernel.org>

---
 include/linux/of.h | 1 -
 1 file changed, 1 deletion(-)

-- 
2.11.0

Patch

diff --git a/include/linux/of.h b/include/linux/of.h
index 4a8a70916237..7312c8ac5221 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -60,7 +60,6 @@  struct device_node {
 	struct	device_node *sibling;
 	struct	kobject kobj;
 	unsigned long _flags;
-	void	*data;
 #if defined(CONFIG_SPARC)
 	const char *path_component_name;
 	unsigned int unique_id;