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:
Gwanglim Lee 2014-09-04 09:43:53 +02:00 committed by Stefan Schmidt
parent 6bb522cc6b
commit fb861fc236
1 changed files with 1 additions and 7 deletions

View File

@ -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);
/* save tty name */
/* save tty name */
dev->tty.name = eina_stringshare_add(tty);
/* FIXME */