summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-02-20 17:15:52 +0100
committerJeremy Allison <jra@samba.org>2013-03-01 12:00:41 -0800
commit056dcc7a8a9b0cac0b28ef6712eccf46e45c2474 (patch)
treecf5d55f8661418f3a6400a020b8116a588cd3202
parent2b3b06b9b428b72cf7f5f400c043abaca47850de (diff)
downloadsamba-056dcc7a8a9b0cac0b28ef6712eccf46e45c2474.tar.gz
samba-056dcc7a8a9b0cac0b28ef6712eccf46e45c2474.tar.bz2
samba-056dcc7a8a9b0cac0b28ef6712eccf46e45c2474.zip
tevent: the content of event is ignored by EPOLL_CTL_DEL
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--lib/tevent/tevent_epoll.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/tevent/tevent_epoll.c b/lib/tevent/tevent_epoll.c
index c2b31143fd..f219cba595 100644
--- a/lib/tevent/tevent_epoll.c
+++ b/lib/tevent/tevent_epoll.c
@@ -304,8 +304,6 @@ static void epoll_del_event(struct epoll_event_context *epoll_ev, struct tevent_
if (!(fde->additional_flags & EPOLL_ADDITIONAL_FD_FLAG_HAS_EVENT)) return;
ZERO_STRUCT(event);
- event.events = epoll_map_flags(fde->flags);
- event.data.ptr = fde;
ret = epoll_ctl(epoll_ev->epoll_fd, EPOLL_CTL_DEL, fde->fd, &event);
if (ret != 0 && errno == ENOENT) {
/*