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

Commit 21386f86 authored by Gustavo Padovan's avatar Gustavo Padovan Committed by Daniel Vetter
Browse files

drm/i915: trivial: remove unneed set to NULL



At this point of the code the obj var is already NULL, so we don't
need to set it again to NULL.

Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 1c14762d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -8307,7 +8307,6 @@ static int intel_crtc_cursor_set_obj(struct drm_crtc *crtc,
	if (!obj) {
		DRM_DEBUG_KMS("cursor off\n");
		addr = 0;
		obj = NULL;
		mutex_lock(&dev->struct_mutex);
		goto finish;
	}