aboutsummaryrefslogtreecommitdiff
path: root/lib/netlink-socket.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-11-22 11:05:53 -0800
committerBen Pfaff <blp@nicira.com>2011-11-28 09:19:48 -0800
commit3907401ce6c5a848797507fcd6bc97218d4847e2 (patch)
treea4f862280f9d8ac702d475adb42b5f169a73e49e /lib/netlink-socket.c
parentf6d1465cec98fd7e83845d24fb394145bbbcf531 (diff)
Revert "poll-loop: Enable checking whether a FD caused a wakeup."
This reverts commit 1e276d1a10539a8cd97d2ad63c073a9a43f0f1ef. The poll_fd_woke() and nl_sock_woke() function added in that commit are no longer used, so there is no reason to keep them in the tree.
Diffstat (limited to 'lib/netlink-socket.c')
-rw-r--r--lib/netlink-socket.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/netlink-socket.c b/lib/netlink-socket.c
index f117a6a2..3e64de39 100644
--- a/lib/netlink-socket.c
+++ b/lib/netlink-socket.c
@@ -854,14 +854,6 @@ nl_sock_wait(const struct nl_sock *sock, short int events)
poll_fd_wait(sock->fd, events);
}
-/* Checks whether this socket caused a wakeup in the previous run of the poll
- * loop. */
-short int
-nl_sock_woke(const struct nl_sock *sock)
-{
- return poll_fd_woke(sock->fd);
-}
-
/* Returns the PID associated with this socket. */
uint32_t
nl_sock_pid(const struct nl_sock *sock)