[Wine-patches] [eterhack 15/24] usbhub.sys: Remove unneeded code.

Alexander Morozov =?iso-8859-1?q?amorozov_=CE=C1_etersoft=2Eru?=
Ср Мар 4 12:25:24 MSK 2009


---
 dlls/usbhub.sys/usbhub.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/dlls/usbhub.sys/usbhub.c b/dlls/usbhub.sys/usbhub.c
index 284fa38..2fd7e38 100644
--- a/dlls/usbhub.sys/usbhub.c
+++ b/dlls/usbhub.sys/usbhub.c
@@ -236,11 +236,6 @@ NTSTATUS WINAPI __wine_usbhub_internal_ioctl( DEVICE_OBJECT *device, IRP *irp )
     }
 
     urb->u.UrbHeader.Status = status;
-    if (irp->UserIosb != NULL)
-    {
-        irp->UserIosb->u.Status = status;
-        irp->UserIosb->Information = 0;
-    }
     irp->IoStatus.u.Status = status;
     irp->IoStatus.Information = 0;
     wine_complete_request( irp, IO_NO_INCREMENT );
-- 
1.6.1.3.GIT



Подробная информация о списке рассылки Wine-patches