win-pvdrivers

changeset 171:c57b6e92c615

remove unused variables
author Andy Grover <andy.grover@oracle.com>
date Mon Feb 04 17:09:36 2008 -0800 (2008-02-04)
parents ae761953516e
children 3583c73e078f
files xenenum/xenenum.c xenpci/xenpci.c
line diff
     1.1 --- a/xenenum/xenenum.c	Mon Feb 04 21:31:14 2008 +1100
     1.2 +++ b/xenenum/xenenum.c	Mon Feb 04 17:09:36 2008 -0800
     1.3 @@ -50,18 +50,6 @@ DriverEntry(PDRIVER_OBJECT DriverObject,
     1.4  {
     1.5    WDF_DRIVER_CONFIG config;
     1.6    ULONG status;
     1.7 -  UNICODE_STRING RegKeyName;
     1.8 -  UNICODE_STRING RegValueName;
     1.9 -  HANDLE RegHandle;
    1.10 -  OBJECT_ATTRIBUTES RegObjectAttributes;
    1.11 -  char Buf[300];
    1.12 -  ULONG BufLen;
    1.13 -  PKEY_VALUE_PARTIAL_INFORMATION KeyPartialValue;
    1.14 -  int State = 0;
    1.15 -  int StartPos = 0;
    1.16 -  WCHAR *SystemStartOptions;
    1.17 -  size_t SystemStartOptionsLen;
    1.18 -  size_t i;
    1.19  
    1.20    KdPrint((__DRIVER_NAME " --> DriverEntry\n"));
    1.21  
     2.1 --- a/xenpci/xenpci.c	Mon Feb 04 21:31:14 2008 +1100
     2.2 +++ b/xenpci/xenpci.c	Mon Feb 04 17:09:36 2008 -0800
     2.3 @@ -95,18 +95,6 @@ DriverEntry(PDRIVER_OBJECT DriverObject,
     2.4  {
     2.5    WDF_DRIVER_CONFIG config;
     2.6    NTSTATUS status;
     2.7 -  UNICODE_STRING RegKeyName;
     2.8 -  UNICODE_STRING RegValueName;
     2.9 -  HANDLE RegHandle;
    2.10 -  OBJECT_ATTRIBUTES RegObjectAttributes;
    2.11 -  char Buf[200];
    2.12 -  ULONG BufLen = 200;
    2.13 -  PKEY_VALUE_PARTIAL_INFORMATION KeyPartialValue;
    2.14 -  int State = 0;
    2.15 -  int StartPos = 0;
    2.16 -  WCHAR *SystemStartOptions;
    2.17 -  size_t SystemStartOptionsLen;
    2.18 -  size_t i;
    2.19  
    2.20    KdPrint((__DRIVER_NAME " --> DriverEntry\n"));
    2.21  
    2.22 @@ -260,7 +248,6 @@ XenPCI_AddDevice(
    2.23    WDF_IO_QUEUE_CONFIG IoQConfig;
    2.24    WDF_INTERRUPT_CONFIG InterruptConfig;
    2.25    PNP_BUS_INFORMATION busInfo;
    2.26 -  BUS_INTERFACE_STANDARD BusInterface;
    2.27    DECLARE_CONST_UNICODE_STRING(DeviceName, L"\\Device\\XenShutdown");
    2.28    DECLARE_CONST_UNICODE_STRING(SymbolicName, L"\\DosDevices\\XenShutdown");
    2.29    WDFDEVICE Device;