diff options
author | SooChan Lim <sc1.lim@samsung.com> | 2015-12-02 21:28:59 +0900 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2015-12-02 21:28:59 +0900 |
commit | 5edda6e6cf065909d37e58ce518e34d270598832 (patch) | |
tree | 85c0b3edbd21b99c88f90c174d936bf3948597b1 | |
parent | 06a0604a873f3c84a1fb2680091f85496fa9c88a (diff) | |
download | libdrm-5edda6e6cf065909d37e58ce518e34d270598832.tar.gz libdrm-5edda6e6cf065909d37e58ce518e34d270598832.tar.bz2 libdrm-5edda6e6cf065909d37e58ce518e34d270598832.zip |
revert check the fd at set_crtc
Change-Id: Ia7b6b849a5a1e650956522b2186e11fe45272797
-rwxr-xr-x | sprd/sprd_drm.c | 3 |
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); |