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,15 +198,9 @@ 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);
|
DBG("Opened Tty %s : %d", tty, dev->tty.fd);
|
||||||
|
|
||||||
/* save tty name */
|
/* save tty name */
|
||||||
dev->tty.name = eina_stringshare_add(tty);
|
dev->tty.name = eina_stringshare_add(tty);
|
||||||
|
|
||||||
/* FIXME */
|
/* FIXME */
|
||||||
|
|
Loading…
Reference in New Issue