[PATCH 08/12] drm vmwgfx: remove unused field vmw_chipset from struct vmw_private

Sascha Hauer s.hauer at pengutronix.de
Thu Feb 2 03:58:00 PST 2012


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c |    1 -
 drivers/gpu/drm/vmwgfx/vmwgfx_drv.h |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
index f390f5f..8c7ac41 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.c
@@ -401,7 +401,6 @@ static int vmw_driver_load(struct drm_device *dev, unsigned long chipset)
 	memset(dev_priv, 0, sizeof(*dev_priv));
 
 	dev_priv->dev = dev;
-	dev_priv->vmw_chipset = chipset;
 	dev_priv->last_read_seqno = (uint32_t) -100;
 	mutex_init(&dev_priv->hw_mutex);
 	mutex_init(&dev_priv->cmdbuf_mutex);
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
index dc27970..252dba2 100644
--- a/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_drv.h
@@ -194,7 +194,6 @@ struct vmw_private {
 	struct vmw_fifo_state fifo;
 
 	struct drm_device *dev;
-	unsigned long vmw_chipset;
 	unsigned int io_start;
 	uint32_t vram_start;
 	uint32_t vram_size;
-- 
1.7.8.3



More information about the dri-devel mailing list