Skip to contentSkip to conversation

drm/imx: Remove unneeded definition for structure imx_drm_component

PATCH Applied Liu Ying 2 participants 2 messages Mar 15, 2017

Subsystems (3)
lore
Share & tools
lore

Liu Ying

author
#0 lore raw

PATCH 1/1 drm/imx: Remove unneeded definition for structure imx_drm_component

No one is using the structure imx_drm_component, so let's remove the definition to save several lines.

---
 drivers/gpu/drm/imx/imx-drm-core.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/imx/imx-drm-core.c +0 -5
index 9e7310e..8a043b5 100644
@@ -34,11 +34,6 @@
 
 #define MAX_CRTC	4
 
-struct imx_drm_component {
-	struct device_node *of_node;
-	struct list_head list;
-};
-
 struct imx_drm_device {
 	struct drm_device			*drm;
 	unsigned int				pipes;
Signature · 6 lines
2.7.4

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw
Quoted 4 lines · Liu Ying

No one is using the structure imx_drm_component, so let's remove the definition to save several lines.

Thanks, applied to imx-drm/next.

regards
Philipp

Quoted 10 lines
---
 drivers/gpu/drm/imx/imx-drm-core.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/gpu/drm/imx/imx-drm-core.c +0 -0
index 9e7310e..8a043b5 100644
@@ -34,11 +34,6 @@
 

drivers/gpu/drm/imx/imx-drm-core.c line 39

Quoted 10 lines
drivers/gpu/drm/imx/imx-drm-core.c +0 -5
 #define MAX_CRTC	4
 
-struct imx_drm_component {
-	struct device_node *of_node;
-	struct list_head list;
-};
-
 struct imx_drm_device {
 	struct drm_device			*drm;
 	unsigned int				pipes;

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel