]> xenbits.xensource.com Git - pvdrivers/win/xenvbd.git/commitdiff
Fix compile errors
authorPaul Durrant <paul.durrant@citrix.com>
Mon, 9 May 2016 12:41:19 +0000 (13:41 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Mon, 9 May 2016 12:41:19 +0000 (13:41 +0100)
Two variables were being initialized but not used, leading to a compiler
warning.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xenvbd/pdo.c

index 8a2cbe4c06f765673aa33ee04c0e87dd5e033bdc..3565cc61a8fd66b2711f964964aaedff0779b5f9 100644 (file)
@@ -2364,8 +2364,6 @@ PdoDispatchPnp(
     )
 {
     PIO_STACK_LOCATION  Stack = IoGetCurrentIrpStackLocation(Irp);
-    UCHAR               Minor = Stack->MinorFunction;
-    ULONG               TargetId = PdoGetTargetId(Pdo);
 
     __PdoCheckEjectPending(Pdo);