diff mbox

drm/imx: Remove unneeded definition for structure imx_drm_component

Message ID 1489560737-9695-1-git-send-email-gnuiyl@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ying Liu March 15, 2017, 6:52 a.m. UTC
No one is using the structure imx_drm_component, so let's remove the
definition to save several lines.

Signed-off-by: Liu Ying <gnuiyl@gmail.com>
---
 drivers/gpu/drm/imx/imx-drm-core.c | 5 -----
 1 file changed, 5 deletions(-)

Comments

Philipp Zabel March 15, 2017, 9:01 a.m. UTC | #1
On Wed, 2017-03-15 at 14:52 +0800, Liu Ying wrote:
> No one is using the structure imx_drm_component, so let's remove the
> definition to save several lines.
> 
> Signed-off-by: Liu Ying <gnuiyl@gmail.com>

Thanks, applied to imx-drm/next.

regards
Philipp

> ---
>  drivers/gpu/drm/imx/imx-drm-core.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c
> index 9e7310e..8a043b5 100644
> --- a/drivers/gpu/drm/imx/imx-drm-core.c
> +++ b/drivers/gpu/drm/imx/imx-drm-core.c
> @@ -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;
diff mbox

Patch

diff --git a/drivers/gpu/drm/imx/imx-drm-core.c b/drivers/gpu/drm/imx/imx-drm-core.c
index 9e7310e..8a043b5 100644
--- a/drivers/gpu/drm/imx/imx-drm-core.c
+++ b/drivers/gpu/drm/imx/imx-drm-core.c
@@ -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;