Re: [PATCH] drm: remove property_blob_list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 7, 2012 at 9:38 PM, Rob Clark <rob.clark@xxxxxxxxxx> wrote:
> From: Rob Clark <rob@xxxxxx>
>
> 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@xxxxxx>
> ---
>  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
>
_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux