* [PATCH] drm/gem: Remove unused variable
@ 2015-10-21 21:41 Laurent Pinchart
0 siblings, 0 replies; only message in thread
From: Laurent Pinchart @ 2015-10-21 21:41 UTC (permalink / raw)
To: dri-devel; +Cc: Daniel Vetter
Remove an unused variable that generates a compilation warning
introduced in commit 4e270f088011 ("drm/gem: Drop struct_mutex
requirement from drm_gem_mmap_obj").
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
drivers/gpu/drm/drm_gem_cma_helper.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/gpu/drm/drm_gem_cma_helper.c b/drivers/gpu/drm/drm_gem_cma_helper.c
index 4fb4c45d039f..e109b49cd25d 100644
--- a/drivers/gpu/drm/drm_gem_cma_helper.c
+++ b/drivers/gpu/drm/drm_gem_cma_helper.c
@@ -481,7 +481,6 @@ int drm_gem_cma_prime_mmap(struct drm_gem_object *obj,
struct vm_area_struct *vma)
{
struct drm_gem_cma_object *cma_obj;
- struct drm_device *dev = obj->dev;
int ret;
ret = drm_gem_mmap_obj(obj, obj->size, vma);
--
2.4.10
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-10-21 21:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-21 21:41 [PATCH] drm/gem: Remove unused variable Laurent Pinchart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).