[PATCH] drm: remove property_blob_list

Rob Clark rob at ti.com
Sun Sep 9 17:48:37 PDT 2012


On Fri, Sep 7, 2012 at 9:38 PM, Rob Clark <rob.clark at linaro.org> wrote:
> From: Rob Clark <rob at ti.com>
>
> It isn't used anywhere.

duh, nevermind.. I figured out how it is used.  But maybe I'll add a comment.

BR,
-R

> Signed-off-by: Rob Clark <rob at ti.com>
> ---
>  drivers/gpu/drm/drm_crtc.c |    2 --
>  include/drm/drm_crtc.h     |    1 -
>  2 files changed, 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c
> index 7552675..21a0a85 100644
> --- a/drivers/gpu/drm/drm_crtc.c
> +++ b/drivers/gpu/drm/drm_crtc.c
> @@ -995,7 +995,6 @@ void drm_mode_config_init(struct drm_device *dev)
>         INIT_LIST_HEAD(&dev->mode_config.connector_list);
>         INIT_LIST_HEAD(&dev->mode_config.encoder_list);
>         INIT_LIST_HEAD(&dev->mode_config.property_list);
> -       INIT_LIST_HEAD(&dev->mode_config.property_blob_list);
>         INIT_LIST_HEAD(&dev->mode_config.plane_list);
>         idr_init(&dev->mode_config.crtc_idr);
>
> @@ -3114,7 +3113,6 @@ static struct drm_property_blob *drm_property_create_blob(struct drm_device *dev
>
>         memcpy(blob->data, data, length);
>
> -       list_add_tail(&blob->head, &dev->mode_config.property_blob_list);
>         return blob;
>  }
>
> diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
> index 1422b36..a3574d0d 100644
> --- a/include/drm/drm_crtc.h
> +++ b/include/drm/drm_crtc.h
> @@ -794,7 +794,6 @@ struct drm_mode_config {
>         struct delayed_work output_poll_work;
>
>         /* pointers to standard properties */
> -       struct list_head property_blob_list;
>         struct drm_property *edid_property;
>         struct drm_property *dpms_property;
>
> --
> 1.7.9.5
>


More information about the dri-devel mailing list