summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsprd/sprd_drm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sprd/sprd_drm.c b/sprd/sprd_drm.c
index a66b2588..43eb5527 100755
--- a/sprd/sprd_drm.c
+++ b/sprd/sprd_drm.c
@@ -1381,9 +1381,6 @@ static int sprd_drm_mode_set_crtc(int fd, void *arg)
uint32_t i;
uint32_t * ids;
- if (fd = -1)
- return -EINVAL;
-
memset(&conns, 0, sizeof(conns[0]) * MAX_CONNECTOR);
dev = get_sprd_device(fd);