Commit c6c2fb59 authored by Rob Clark's avatar Rob Clark
parent 409af447
...@@ -187,11 +187,6 @@ static int dpu_crtc_get_crc(struct drm_crtc *crtc) ...@@ -187,11 +187,6 @@ static int dpu_crtc_get_crc(struct drm_crtc *crtc)
int i = 0; int i = 0;
int rc = 0; int rc = 0;
if (!crtc) {
DPU_ERROR("Invalid crtc\n");
return -EINVAL;
}
crtc_state = to_dpu_crtc_state(crtc->state); crtc_state = to_dpu_crtc_state(crtc->state);
crcs = kcalloc(crtc_state->num_mixers, sizeof(*crcs), GFP_KERNEL); crcs = kcalloc(crtc_state->num_mixers, sizeof(*crcs), GFP_KERNEL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment