Message ID | 075d1812dc54d5a4e69d9a10360645bfbcdaddf9.1268214633.git.quintela@redhat.com |
---|---|
State | New |
Headers | show |
diff --git a/vl.c b/vl.c index a961710..3bf8b87 100644 --- a/vl.c +++ b/vl.c @@ -2590,7 +2590,6 @@ void pcmcia_info(Monitor *mon) typedef struct IOHandlerRecord { int fd; - IOCanReadHandler *fd_read_poll; IOHandler *fd_read; IOHandler *fd_write; int deleted; @@ -3809,9 +3808,7 @@ void main_loop_wait(int timeout) QTAILQ_FOREACH(ioh, &io_handlers, next) { if (ioh->deleted) continue; - if (ioh->fd_read && - (!ioh->fd_read_poll || - ioh->fd_read_poll(ioh->opaque) != 0)) { + if (ioh->fd_read) { FD_SET(ioh->fd, &rfds); if (ioh->fd > nfds) nfds = ioh->fd;
Signed-off-by: Juan Quintela <quintela@redhat.com> --- vl.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)