aqhome: removed unneeded code.
This commit is contained in:
@@ -64,7 +64,6 @@ GWEN_MSG_ENDPOINT *AQH_TtyNodeEndpoint_new(const char *devicePath, int groupId)
|
|||||||
{
|
{
|
||||||
GWEN_MSG_ENDPOINT *ep;
|
GWEN_MSG_ENDPOINT *ep;
|
||||||
AQH_MSG_ENDPOINT_TTY *xep;
|
AQH_MSG_ENDPOINT_TTY *xep;
|
||||||
// int fd;
|
|
||||||
|
|
||||||
ep=AQH_NodeEndpoint_new(AQH_MSG_ENDPOINT_TTY_NAME, groupId);
|
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);
|
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;
|
return ep;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user