intel: Remove two unused variables

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
main
Damien Lespiau 2012-07-26 17:50:09 +01:00 committed by Eric Anholt
parent ebd7904877
commit c10b08d959
1 changed files with 1 additions and 2 deletions

View File

@ -2908,9 +2908,8 @@ drm_intel_gem_context_create(drm_intel_bufmgr *bufmgr)
{ {
drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bufmgr; drm_intel_bufmgr_gem *bufmgr_gem = (drm_intel_bufmgr_gem *)bufmgr;
struct drm_i915_gem_context_create create; struct drm_i915_gem_context_create create;
drm_i915_getparam_t gp;
drm_intel_context *context = NULL; drm_intel_context *context = NULL;
int tmp = 0, ret; int ret;
ret = drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_CONTEXT_CREATE, &create); ret = drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_CONTEXT_CREATE, &create);
if (ret != 0) { if (ret != 0) {