Jacek Caban : server: Get rid of no longer used support for queuing client side asyncs on named pipes.
Alexandre Julliard
julliard at winehq.org
Thu Oct 5 14:59:35 CDT 2017
Module: wine
Branch: master
Commit: 2659a796f77d17d8026bb60890c1b48c0120c16a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2659a796f77d17d8026bb60890c1b48c0120c16a
Author: Jacek Caban <jacek at codeweavers.com>
Date: Thu Oct 5 14:29:54 2017 +0200
server: Get rid of no longer used support for queuing client side asyncs on named pipes.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
server/named_pipe.c | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/server/named_pipe.c b/server/named_pipe.c
index 6f5b3b0..a6a0318 100644
--- a/server/named_pipe.c
+++ b/server/named_pipe.c
@@ -146,7 +146,6 @@ static int pipe_end_read( struct fd *fd, struct async *async, file_pos_t pos );
static int pipe_end_write( struct fd *fd, struct async *async_data, file_pos_t pos );
static int pipe_end_flush( struct fd *fd, struct async *async );
static void pipe_end_get_volume_info( struct fd *fd, unsigned int info_class );
-static void pipe_end_queue_async( struct fd *fd, struct async *async, int type, int count );
static void pipe_end_reselect_async( struct fd *fd, struct async_queue *queue );
/* server end functions */
@@ -187,7 +186,7 @@ static const struct fd_ops pipe_server_fd_ops =
pipe_end_flush, /* flush */
pipe_end_get_volume_info, /* get_volume_info */
pipe_server_ioctl, /* ioctl */
- pipe_end_queue_async, /* queue_async */
+ no_fd_queue_async, /* queue_async */
pipe_end_reselect_async /* reselect_async */
};
@@ -230,7 +229,7 @@ static const struct fd_ops pipe_client_fd_ops =
pipe_end_flush, /* flush */
pipe_end_get_volume_info, /* get_volume_info */
pipe_client_ioctl, /* ioctl */
- pipe_end_queue_async, /* queue_async */
+ no_fd_queue_async, /* queue_async */
pipe_end_reselect_async /* reselect_async */
};
@@ -787,13 +786,6 @@ static int pipe_end_write( struct fd *fd, struct async *async, file_pos_t pos )
return 1;
}
-static void pipe_end_queue_async( struct fd *fd, struct async *async, int type, int count )
-{
- struct pipe_end *pipe_end = get_fd_user( fd );
- if (use_server_io( pipe_end )) no_fd_queue_async( fd, async, type, count );
- else default_fd_queue_async( fd, async, type, count );
-}
-
static void pipe_end_reselect_async( struct fd *fd, struct async_queue *queue )
{
struct pipe_end *pipe_end = get_fd_user( fd );
More information about the wine-cvs
mailing list