From b51941cc5adbe163cbe7cd322717b4d3b852b52d Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Sun, 9 Apr 2023 18:50:30 +0200 Subject: [PATCH] aqhome: removed unneeded code. --- aqhome/msg/endpoint_tty.c | 12 ------------ 1 file changed, 12 deletions(-) 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; }