diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-07-28 18:46:35 +0545 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-08-05 22:39:53 +0200 |
commit | e47e9ad9186ff265ddf316d25cd4942bab019d57 (patch) | |
tree | 92cbf4c4dac8cd0897fab44019787b7949bcdfdc /drivers | |
parent | e844b990b1df9242bb91b7d490552f3198946838 (diff) | |
download | linux-e47e9ad9186ff265ddf316d25cd4942bab019d57.tar.gz linux-e47e9ad9186ff265ddf316d25cd4942bab019d57.tar.bz2 linux-e47e9ad9186ff265ddf316d25cd4942bab019d57.zip |
drm/i915: remove unused variable
the following warning was produced,
drivers/gpu/drm/i915/i915_gem_context.c: In function ‘i915_switch_context’:
drivers/gpu/drm/i915/i915_gem_context.c:454:6: warning: unused variable ‘ret’ [-Wunused-variable]
fix up by removing it
Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_context.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_context.c b/drivers/gpu/drm/i915/i915_gem_context.c index da8b01fb1bf8..a9d58d72bb4d 100644 --- a/drivers/gpu/drm/i915/i915_gem_context.c +++ b/drivers/gpu/drm/i915/i915_gem_context.c @@ -451,7 +451,6 @@ int i915_switch_context(struct intel_ring_buffer *ring, struct drm_i915_file_private *file_priv = NULL; struct i915_hw_context *to; struct drm_i915_gem_object *from_obj = ring->last_context_obj; - int ret; if (dev_priv->hw_contexts_disabled) return 0; |