Sync to trunk head (35333)
[reactos.git] / reactos / drivers / network / tcpip / tcpip / dispatch.c
index 59107bb..94232ca 100644 (file)
@@ -1022,9 +1022,6 @@ NTSTATUS DispTdiSendDatagram(
 
         if (Status != STATUS_PENDING) {
             DispDataRequestComplete(Irp, Status, Irp->IoStatus.Information);
-            /* Return STATUS_PENDING because DispPrepareIrpForCancel
-               marks Irp as pending */
-            Status = STATUS_PENDING;
         } else
            IoMarkIrpPending( Irp );
     }