[Intel-gfx] [PATCH libdrm] intel: Remove two unused variables

Eric Anholt eric at anholt.net
Thu Jul 26 19:06:11 CEST 2012


Damien Lespiau <damien.lespiau at gmail.com> writes:

> From: Damien Lespiau <damien.lespiau at intel.com>
>
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
> ---
>  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 eae2199..43c49a9 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;

Oops, I never sent out my copy of this patch.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120726/502cd5e0/attachment.sig>


More information about the Intel-gfx mailing list