diff --git a/aqhome/msg/endpoint_tty.c b/aqhome/msg/endpoint_tty.c index c8bf3b1..61e6f2b 100644 --- a/aqhome/msg/endpoint_tty.c +++ b/aqhome/msg/endpoint_tty.c @@ -64,7 +64,6 @@ GWEN_MSG_ENDPOINT *AQH_TtyNodeEndpoint_new(const char *devicePath, int groupId) { GWEN_MSG_ENDPOINT *ep; AQH_MSG_ENDPOINT_TTY *xep; -// int fd; ep=AQH_NodeEndpoint_new(AQH_MSG_ENDPOINT_TTY_NAME, groupId); @@ -80,17 +79,6 @@ GWEN_MSG_ENDPOINT *AQH_TtyNodeEndpoint_new(const char *devicePath, int groupId) xep->deviceName=strdup(devicePath); -#if 0 - fd=_openDevice(ep); - if (fd<0) { - DBG_INFO(NULL, "here (%d)", fd); - GWEN_MsgEndpoint_free(ep); - return NULL; - } - GWEN_MsgEndpoint_SetFd(ep, fd); - _attnHigh(ep); -#endif - return ep; }