Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #18 from rosslagerwall/dead-code

Removes some unnecessary initializations when using EPOLL_CTL_DEL.
  • Loading branch information...
commit 02fd55f4fee4df17d295ff3e5c06a27815978ae8 2 parents 9a8b349 + 00c232a
@alobbs alobbs authored
Showing with 0 additions and 4 deletions.
  1. +0 −4 cherokee/fdpoll-epoll.c
View
4 cherokee/fdpoll-epoll.c
@@ -128,10 +128,6 @@ _del (cherokee_fdpoll_epoll_t *fdp, int fd)
{
struct epoll_event ev;
- ev.events = 0;
- ev.data.u64 = 0; /* <- I just wanna be sure there aren't */
- ev.data.fd = fd; /* <- 4 bytes uninitialized */
-
/* Check the fd limit
*/
if (unlikely (cherokee_fdpoll_is_empty (FDPOLL(fdp)))) {
Please sign in to comment.
Something went wrong with that request. Please try again.