All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Herrmann <dh.herrmann@gmail.com>
To: dri-devel@lists.freedesktop.org
Subject: [PATCH 3/7] drm/cirrus: remove unused driver_private access
Date: Wed, 14 Aug 2013 15:07:16 +0200	[thread overview]
Message-ID: <1376485640-711-4-git-send-email-dh.herrmann@gmail.com> (raw)
In-Reply-To: <1376485640-711-1-git-send-email-dh.herrmann@gmail.com>

gem_bo->driver_private is never read by cirrus nor DRM core. No need to
set it. Besides, drm core clears it during setup, anyway.

Cc: Dave Airlie <airlied@gmail.com>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
---
 drivers/gpu/drm/cirrus/cirrus_ttm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/gpu/drm/cirrus/cirrus_ttm.c b/drivers/gpu/drm/cirrus/cirrus_ttm.c
index 0047012..bf8a506 100644
--- a/drivers/gpu/drm/cirrus/cirrus_ttm.c
+++ b/drivers/gpu/drm/cirrus/cirrus_ttm.c
@@ -326,7 +326,6 @@ int cirrus_bo_create(struct drm_device *dev, int size, int align,
 		return ret;
 	}
 
-	cirrusbo->gem.driver_private = NULL;
 	cirrusbo->bo.bdev = &cirrus->ttm.bdev;
 
 	cirrus_ttm_placement(cirrusbo, TTM_PL_FLAG_VRAM | TTM_PL_FLAG_SYSTEM);
-- 
1.8.3.4

  parent reply	other threads:[~2013-08-14 13:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-14 13:07 [PATCH 0/7] DRM: Remove gem_init_object() and friends David Herrmann
2013-08-14 13:07 ` [PATCH 1/7] drm/ast: remove unused driver_private access David Herrmann
2013-08-14 13:07 ` [PATCH 2/7] drm/mgag200: " David Herrmann
2013-08-14 13:07 ` David Herrmann [this message]
2013-08-14 13:07 ` [PATCH 4/7] drm/qxl: remove unused object_pin/unpin() helpers David Herrmann
2013-08-14 13:07 ` [PATCH 5/7] drm/radeon: remove stale gem->driver_private access David Herrmann
2013-08-14 13:23   ` Alex Deucher
2013-08-14 13:07 ` [PATCH 6/7] drm/nouveau: embed gem object in nouveau_bo David Herrmann
2013-08-14 14:31   ` Maarten Lankhorst
2013-08-15 12:32     ` David Herrmann
2013-08-15 12:44       ` Daniel Vetter
2013-08-15 13:09         ` Maarten Lankhorst
2013-09-23 23:15   ` Ben Skeggs
2013-08-14 13:07 ` [PATCH 7/7] drm: kill ->gem_init_object() and friends David Herrmann
2013-08-14 13:27 ` [PATCH 0/7] DRM: Remove gem_init_object() " Daniel Vetter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1376485640-711-4-git-send-email-dh.herrmann@gmail.com \
    --to=dh.herrmann@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.