summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm/ecore_drm_tty.c
diff options
context:
space:
mode:
authorGwanglim Lee <gl77.lee@samsung.com>2014-09-04 09:43:53 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2014-09-04 09:43:53 +0200
commitfb861fc2364bcfd57c88b7b6e3253f1f477ca154 (patch)
tree003fcfb422c02ea8253ea7e773490684cdfc8105 /src/lib/ecore_drm/ecore_drm_tty.c
parent6bb522cc6bf3cb47daf6436459497bbb387ab69f (diff)
ecore-drm: Remove duplicated tty fd check
Summary: No need to check tty fd again as we just did that. Remove this and adjust indent. Test Plan: N/A Reviewers: devilhorns, stefan_schmidt, raster Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1407
Diffstat (limited to 'src/lib/ecore_drm/ecore_drm_tty.c')
-rw-r--r--src/lib/ecore_drm/ecore_drm_tty.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/ecore_drm/ecore_drm_tty.c b/src/lib/ecore_drm/ecore_drm_tty.c
index 1bc7ffffe4..f4a4d30870 100644
--- a/src/lib/ecore_drm/ecore_drm_tty.c
+++ b/src/lib/ecore_drm/ecore_drm_tty.c
@@ -198,15 +198,9 @@ ecore_drm_tty_open(Ecore_Drm_Device *dev, const char *name)
198 } 198 }
199 } 199 }
200 200
201 if (dev->tty.fd < 0)
202 {
203 DBG("Failed to open tty %s", tty);
204 return EINA_FALSE;
205 }
206
207 DBG("Opened Tty %s : %d", tty, dev->tty.fd); 201 DBG("Opened Tty %s : %d", tty, dev->tty.fd);
208 202
209 /* save tty name */ 203 /* save tty name */
210 dev->tty.name = eina_stringshare_add(tty); 204 dev->tty.name = eina_stringshare_add(tty);
211 205
212 /* FIXME */ 206 /* FIXME */