[FORMATTING] Fix indentation, no code change

svn path=/trunk/; revision=30978
This commit is contained in:
Hervé Poussineau 2007-12-03 08:25:54 +00:00
parent 8459487b4b
commit 3e89cd6ca5

View file

@ -159,8 +159,6 @@ PnpRootCreateDevice(
goto cleanup; goto cleanup;
} }
/* FIXME: save the new device to registry? */
/* Initialize a PNPROOT_DEVICE structure */ /* Initialize a PNPROOT_DEVICE structure */
Device = ExAllocatePoolWithTag(PagedPool, sizeof(PNPROOT_DEVICE), TAG_PNP_ROOT); Device = ExAllocatePoolWithTag(PagedPool, sizeof(PNPROOT_DEVICE), TAG_PNP_ROOT);
if (!Device) if (!Device)
@ -737,12 +735,10 @@ PdoQueryDeviceRelations(
IN PIRP Irp, IN PIRP Irp,
IN PIO_STACK_LOCATION IrpSp) IN PIO_STACK_LOCATION IrpSp)
{ {
//PPNPROOT_PDO_DEVICE_EXTENSION DeviceExtension;
PDEVICE_RELATIONS Relations; PDEVICE_RELATIONS Relations;
DEVICE_RELATION_TYPE RelationType; DEVICE_RELATION_TYPE RelationType;
NTSTATUS Status = Irp->IoStatus.Status; NTSTATUS Status = Irp->IoStatus.Status;
//DeviceExtension = (PPNPROOT_PDO_DEVICE_EXTENSION)DeviceObject->DeviceExtension;
RelationType = IrpSp->Parameters.QueryDeviceRelations.Type; RelationType = IrpSp->Parameters.QueryDeviceRelations.Type;
switch (RelationType) switch (RelationType)