[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 13/14] Remove now unused fd_read_poll and all its on
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 13/14] Remove now unused fd_read_poll and all its only left user |
Date: |
Wed, 10 Mar 2010 11:03:27 +0100 |
Signed-off-by: Juan Quintela <address@hidden>
---
vl.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
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;
--
1.6.6.1
- [Qemu-devel] [PATCH 02/14] remove useless cast, (continued)
- [Qemu-devel] [PATCH 02/14] remove useless cast, Juan Quintela, 2010/03/10
- [Qemu-devel] [PATCH 03/14] rename IOCanRWHandler to IOCanReadHandler, Juan Quintela, 2010/03/10
- [Qemu-devel] [PATCH 04/14] bt: remove bt_host_read_poll(), Juan Quintela, 2010/03/10
- [Qemu-devel] [PATCH 05/14] Handle deleted IOHandlers in a single pass, Juan Quintela, 2010/03/10
- [Qemu-devel] [PATCH 07/14] qemu-char:stdio insert poll call into read one, Juan Quintela, 2010/03/10
- [Qemu-devel] [PATCH 08/14] qemu-char:tcp insert poll call into read one, Juan Quintela, 2010/03/10
- [Qemu-devel] [PATCH 06/14] tap: insert tap_can_send() into tap_send(), Juan Quintela, 2010/03/10
- [Qemu-devel] [PATCH 09/14] qemu-char:fd insert poll call into read one, Juan Quintela, 2010/03/10
- [Qemu-devel] [PATCH 10/14] qemu-char:pty insert poll call into read one, Juan Quintela, 2010/03/10
- [Qemu-devel] [PATCH 11/14] qemu-char:udp insert poll call into read one, Juan Quintela, 2010/03/10
- [Qemu-devel] [PATCH 13/14] Remove now unused fd_read_poll and all its only left user,
Juan Quintela <=
- [Qemu-devel] [PATCH 14/14] Add qemu_remove_fd_handler(), Juan Quintela, 2010/03/10
- [Qemu-devel] [PATCH 12/14] Remove qemu_set_fd_handler2(), Juan Quintela, 2010/03/10