Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f394940b authored by Chris Wilson's avatar Chris Wilson
Browse files

drm/i915: Remove redundant deletion of obj->gpu_write_list



At that point as the object is no longer in any GPU write domain it must
not be on the list, so the list_del() is redundant.

Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 5cdf5881
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3857,8 +3857,6 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data,
		if (obj->write_domain)
			list_move_tail(&obj_priv->gpu_write_list,
				       &dev_priv->mm.gpu_write_list);
		else
			list_del_init(&obj_priv->gpu_write_list);

		trace_i915_gem_object_change_domain(obj,
						    obj->read_domains,