intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH libdrm] intel: Remove two unused variables
@ 2012-07-26 16:50 Damien Lespiau
  2012-07-26 17:06 ` Eric Anholt
  0 siblings, 1 reply; 2+ messages in thread
From: Damien Lespiau @ 2012-07-26 16:50 UTC (permalink / raw)
  To: intel-gfx

From: Damien Lespiau <damien.lespiau@intel.com>

Signed-off-by: Damien Lespiau <damien.lespiau@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;
 
 	ret = drmIoctl(bufmgr_gem->fd, DRM_IOCTL_I915_GEM_CONTEXT_CREATE, &create);
 	if (ret != 0) {
-- 
1.7.7.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH libdrm] intel: Remove two unused variables
  2012-07-26 16:50 [PATCH libdrm] intel: Remove two unused variables Damien Lespiau
@ 2012-07-26 17:06 ` Eric Anholt
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Anholt @ 2012-07-26 17:06 UTC (permalink / raw)
  To: Damien Lespiau, intel-gfx


[-- Attachment #1.1: Type: text/plain, Size: 821 bytes --]

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

> From: Damien Lespiau <damien.lespiau@intel.com>
>
> Signed-off-by: Damien Lespiau <damien.lespiau@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@anholt.net>

[-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-26 17:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-26 16:50 [PATCH libdrm] intel: Remove two unused variables Damien Lespiau
2012-07-26 17:06 ` Eric Anholt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).