lib: tevent: Minor cleanup. wakeup_fd can always be gotten from the event context.
authorJeremy Allison <jra@samba.org>
Sat, 11 Nov 2017 03:26:55 +0000 (19:26 -0800)
committerRalph Boehme <slow@samba.org>
Fri, 17 Nov 2017 11:43:01 +0000 (12:43 +0100)
commit993fa5793fd6a95173eda574562661ab8959c544
tree289c86923ee569c09550470f1e9b2eff78a0e133
parent3b16bfe483da19c500ab511fd3d8c81528cfe608
lib: tevent: Minor cleanup. wakeup_fd can always be gotten from the event context.

We don't need to store it. I prefer this as it shows that we must always
get wakeup_fd from the event context at time of use, rather than possibly
storing an out-of-date variable.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Nov 17 12:43:01 CET 2017 on sn-devel-144
lib/tevent/tevent_internal.h
lib/tevent/tevent_threads.c