Commit 1d878df0 authored by Gerd Hoffmann's avatar Gerd Hoffmann
Browse files

drm/qxl: drop redundant code

parent bfebd42d
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -677,10 +677,8 @@ static void qxl_primary_atomic_disable(struct drm_plane *plane,

		if (bo->shadow)
			bo = bo->shadow;
		if (bo->is_primary) {
		if (bo->is_primary)
			qxl_io_destroy_primary(qdev);
			bo->is_primary = false;
		}
	}
}