aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
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;