Commit c6c2fb59 authored by Rob Clark's avatar Rob Clark
Browse files
parent 409af447
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -187,11 +187,6 @@ static int dpu_crtc_get_crc(struct drm_crtc *crtc)
	int i = 0;
	int rc = 0;

	if (!crtc) {
		DPU_ERROR("Invalid crtc\n");
		return -EINVAL;
	}

	crtc_state = to_dpu_crtc_state(crtc->state);
	crcs = kcalloc(crtc_state->num_mixers, sizeof(*crcs), GFP_KERNEL);