lib: Remove an obsolete comment
authorVolker Lendecke <vl@samba.org>
Tue, 12 Mar 2024 14:06:33 +0000 (15:06 +0100)
committerMartin Schwenke <martins@samba.org>
Wed, 17 Apr 2024 09:01:34 +0000 (09:01 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <mschwenke@ddn.com>
Autobuild-User(master): Martin Schwenke <martins@samba.org>
Autobuild-Date(master): Wed Apr 17 09:01:34 UTC 2024 on atb-devel-224

lib/async_req/async_sock.c

index bdbefd162ac5d8eb872fffe38b4e88562b206d0a..795a2c63dbaceaedc5fbf7089b6726796bcd5e42 100644 (file)
@@ -144,13 +144,6 @@ struct tevent_req *async_connect_send(
                return tevent_req_post(req, ev);
        }
 
-       /*
-        * Note for historic reasons TEVENT_FD_WRITE is not enough
-        * to get notified for POLLERR or EPOLLHUP even if they
-        * come together with POLLOUT. That means we need to
-        * use TEVENT_FD_READ in addition until we have
-        * TEVENT_FD_ERROR.
-        */
        state->fde = tevent_add_fd(ev, state, fd,
                                   TEVENT_FD_ERROR|TEVENT_FD_WRITE,
                                   async_connect_connected, req);