[master] dcf2a20 Remove unwarranted asserts.
Poul-Henning Kamp
phk at FreeBSD.org
Fri Jan 23 13:15:16 CET 2015
commit dcf2a20614716f76a8ed2b0dc61aa418f32f4373
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Fri Jan 23 12:15:04 2015 +0000
Remove unwarranted asserts.
diff --git a/bin/varnishd/waiter/cache_waiter_poll.c b/bin/varnishd/waiter/cache_waiter_poll.c
index 355ab38..bcdf797 100644
--- a/bin/varnishd/waiter/cache_waiter_poll.c
+++ b/bin/varnishd/waiter/cache_waiter_poll.c
@@ -117,10 +117,6 @@ VSL(SLT_Debug, 0, "POLL Evict %d", fd);
assert(fd < vwp->npoll);
vwp_pollspace(vwp, (unsigned)fd);
- assert(vwp->pollfd[fd].fd == fd);
- assert(vwp->pollfd[fd].events == POLLIN);
- AZ(vwp->pollfd[fd].revents);
-
vwp->pollfd[fd].fd = -1;
vwp->pollfd[fd].events = 0;
}
More information about the varnish-commit
mailing list