On Thu, Nov 19, 2015 at 04:57:30PM +0530, Namrta Salonie wrote:
>     Found by static analysis tool.
> 
> Signed-off-by: Namrta Salonie <namrta.salo...@intel.com>

Queued for -next, thanks for the patch.
-Daniel

> ---
>  drivers/gpu/drm/i915/i915_dma.c |    2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
> index 2336af9..ac1bca6 100644
> --- a/drivers/gpu/drm/i915/i915_dma.c
> +++ b/drivers/gpu/drm/i915/i915_dma.c
> @@ -1269,8 +1269,6 @@ void i915_driver_postclose(struct drm_device *dev, 
> struct drm_file *file)
>  {
>       struct drm_i915_file_private *file_priv = file->driver_priv;
>  
> -     if (file_priv && file_priv->bsd_ring)
> -             file_priv->bsd_ring = NULL;
>       kfree(file_priv);
>  }
>  
> -- 
> 1.7.9.5
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to