[PATCH] drm/imx: Remove unneeded definition for structure imx_drm_component

Philipp Zabel p.zabel at pengutronix.de
Wed Mar 15 09:01:23 UTC 2017


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 at 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;



More information about the dri-devel mailing list