[ofw] RE: [PATCH] WV: Minor cleanup EP code

Sean Hefty sean.hefty at intel.com
Mon Feb 23 12:05:29 PST 2009


>        if (NT_SUCCESS(status)) {
>                status = WdfRequestForwardToIoQueue(Request, pEndpoint->Queue);
>-       }
>-
>-       if (!NT_SUCCESS(status)) {
>+       } else {
>                pEndpoint->State = WvEpDisconnected;
>        }

This is not the same.  The value of status can change inside the if.




More information about the ofw mailing list