From patchwork Thu Mar 11 16:55:49 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [15/16] Remove now unused fd_read_poll and all its only left user Date: Thu, 11 Mar 2010 06:55:49 -0000 From: Juan Quintela X-Patchwork-Id: 47360 Message-Id: <435e89889409bb8742740c92a8159e05e71bd878.1268326362.git.quintela@redhat.com> To: qemu-devel@nongnu.org Signed-off-by: Juan Quintela --- vl.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/vl.c b/vl.c index f102a82..304d05c 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) QLIST_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;