aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-08-16 17:59:26 +0100
committerThomas White <taw@bitwiz.org.uk>2009-08-16 17:59:26 +0100
commita10e735cac6a76c081d1a00c0d3608c86c71ca8f (patch)
treec2ee17a394bea0de5354b090f88d364d6e1a70b2 /drivers
parent183519f6eb74d6c791a98fa18c23b837ee0ba408 (diff)
Remove unused snippet
Signed-off-by: Thomas White <taw@bitwiz.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/glamo/glamo-buffer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mfd/glamo/glamo-buffer.c b/drivers/mfd/glamo/glamo-buffer.c
index 9fc0f7d093f..d1ab245db96 100644
--- a/drivers/mfd/glamo/glamo-buffer.c
+++ b/drivers/mfd/glamo/glamo-buffer.c
@@ -96,7 +96,6 @@ int glamo_ioctl_gem_create(struct drm_device *dev, void *data,
{
struct drm_glamo_gem_create *args = data;
struct drm_gem_object *obj;
- struct drm_glamo_gem_object *gobj;
int handle, ret;
/* Create an object */
@@ -110,9 +109,6 @@ int glamo_ioctl_gem_create(struct drm_device *dev, void *data,
mutex_unlock(&dev->struct_mutex);
if (ret) goto fail;
- /* Watchpoint */
- gobj = obj->driver_private;
-
/* Return */
args->handle = handle;
return 0;