On Thu, Apr 03, 2014 at 01:36:25PM +0300, Mika Kuoppala wrote:
> Chris Wilson <ch...@chris-wilson.co.uk> writes:
> > +   if (to->obj == NULL) { /* We have the fake context */
> > +           if (to != ring->last_context) {
> > +                   if (to)
> > +                           i915_gem_context_reference(to);
>                         ^^
> Not needed as you have already oopsed earlier if it doesnt exist.

Force of habit.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to