diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2012-07-26 17:50:09 +0100 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2012-08-02 11:20:06 -0700 |
commit | c10b08d95954aecd331e5a43b4861c6c04b8aadd (patch) | |
tree | 03d4c4f7f00102931fe5e2fddb5a0393543554c8 | |
parent | ebd7904877d08525beb5039e4ea2f5b6c0a7c23f (diff) |
intel: Remove two unused variables
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
-rw-r--r-- | intel/intel_bufmgr_gem.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/intel/intel_bufmgr_gem.c b/intel/intel_bufmgr_gem.c index eae2199d..43c49a9c 100644 --- a/intel/intel_bufmgr_gem.c +++ b/intel/intel_bufmgr_gem.c @@ -2908,9 +2908,8 @@ drm_intel_gem_context_create(drm_intel_bufmgr *bufmgr) { drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bufmgr; struct drm_i915_gem_context_create create; - drm_i915_getparam_t gp; drm_intel_context *context = NULL; - int tmp = 0, ret; + int ret; ret = drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_CONTEXT_CREATE, &create); if (ret != 0) { |