Jacek Caban : server: Removed no longer needed user_arg from irp_call struct.

Alexandre Julliard julliard at winehq.org
Tue Feb 21 16:56:13 CST 2017


Module: wine
Branch: master
Commit: 13daca6f1af97285463e57cd680b6da8a5c14e5e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=13daca6f1af97285463e57cd680b6da8a5c14e5e

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Wed Feb 15 22:12:20 2017 +0100

server: Removed no longer needed user_arg from irp_call struct.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 server/device.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/server/device.c b/server/device.c
index a7dce3b..bece6a8 100644
--- a/server/device.c
+++ b/server/device.c
@@ -48,7 +48,6 @@ struct irp_call
     struct list            mgr_entry;     /* entry in manager queue */
     struct device_file    *file;          /* file containing this irp */
     struct thread         *thread;        /* thread that queued the irp */
-    client_ptr_t           user_arg;      /* user arg used to identify the request */
     struct async          *async;         /* pending async op */
     irp_params_t           params;        /* irp parameters */
     struct iosb           *iosb;          /* I/O status block */
@@ -480,7 +479,6 @@ static obj_handle_t queue_irp( struct device_file *file, struct irp_call *irp,
         if (handle) close_handle( current->process, handle );
         return 0;
     }
-    irp->user_arg = async_data->arg;
     add_irp_to_queue( file, irp, current );
     set_error( STATUS_PENDING );
     return handle;




More information about the wine-cvs mailing list