Skip to contentSkip to conversation

drm: remove property_blob_list

PATCH In review Rob Clark 2 participants 2 messages Sep 8, 2012 – Sep 10, 2012

Subsystems (2)
lore
Share & tools
lore

Rob Clark

author
#0 lore raw

PATCH 1/1 drm: remove property_blob_list

From: Rob Clark <[email protected]>

It isn't used anywhere.

---
 drivers/gpu/drm/drm_crtc.c |    2 --
 include/drm/drm_crtc.h     |    1 -
 2 files changed, 3 deletions(-)
drivers/gpu/drm/drm_crtc.c +0 -2
index 7552675..21a0a85 100644
@@ -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;
 }
 
include/drm/drm_crtc.h +0 -1
index 1422b36..a3574d0d 100644
@@ -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;
 
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 3 lines · Rob Clark

From: Rob Clark <[email protected]>

It isn't used anywhere.

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

BR,
-R

Quoted 41 lines
---
 drivers/gpu/drm/drm_crtc.c |    2 --
 include/drm/drm_crtc.h     |    1 -
 2 files changed, 3 deletions(-)
drivers/gpu/drm/drm_crtc.c +0 -2
index 7552675..21a0a85 100644
@@ -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;
 }
 
include/drm/drm_crtc.h +0 -2
index 1422b36..a3574d0d 100644
@@ -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