diff mbox

drm: remove property_blob_list

Message ID 1347071903-22510-1-git-send-email-rob.clark@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Rob Clark Sept. 8, 2012, 2:38 a.m. UTC
From: Rob Clark <rob@ti.com>

It isn't used anywhere.

Signed-off-by: Rob Clark <rob@ti.com>
---
 drivers/gpu/drm/drm_crtc.c |    2 --
 include/drm/drm_crtc.h     |    1 -
 2 files changed, 3 deletions(-)

Comments

Rob Clark Sept. 10, 2012, 12:48 a.m. UTC | #1
On Fri, Sep 7, 2012 at 9:38 PM, Rob Clark <rob.clark@linaro.org> wrote:
> From: Rob Clark <rob@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@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
>
diff mbox

Patch

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;