forked from enlightenment/efl
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
This commit is contained in:
parent
6bb522cc6b
commit
fb861fc236
|
@ -198,12 +198,6 @@ ecore_drm_tty_open(Ecore_Drm_Device *dev, const char *name)
|
|||
}
|
||||
}
|
||||
|
||||
if (dev->tty.fd < 0)
|
||||
{
|
||||
DBG("Failed to open tty %s", tty);
|
||||
return EINA_FALSE;
|
||||
}
|
||||
|
||||
DBG("Opened Tty %s : %d", tty, dev->tty.fd);
|
||||
|
||||
/* save tty name */
|
||||
|
|
Loading…
Reference in New Issue