Remove debug output and some useless code

Replace false by FALSE

svn path=/trunk/; revision=17302
This commit is contained in:
Hervé Poussineau 2005-08-11 20:13:26 +00:00
parent d240d7dec7
commit 41890ed14b
2 changed files with 1 additions and 14 deletions

View file

@ -344,7 +344,6 @@ UhciDeviceControlFdo(
&StringSize);
if (NT_SUCCESS(Status) || Status == STATUS_BUFFER_TOO_SMALL)
{
DPRINT("UHCI: IOCTL_GET_HCD_DRIVERKEY_NAME returns '%S'\n", StringDescriptor->DriverKeyName);
StringDescriptor->ActualLength = StringSize + FIELD_OFFSET(USB_HCD_DRIVERKEY_NAME, DriverKeyName);
Information = LengthOut;
Status = STATUS_SUCCESS;
@ -385,18 +384,6 @@ UhciDeviceControlFdo(
}
break;
}
case IOCTL_USB_GET_NODE_CONNECTION_INFORMATION:
{
DPRINT1("UHCI: IOCTL_USB_GET_NODE_CONNECTION_INFORMATION\n");
Status = STATUS_NOT_IMPLEMENTED;
break;
}
case IOCTL_USB_GET_NODE_CONNECTION_NAME:
{
DPRINT1("UHCI: IOCTL_USB_GET_NODE_CONNECTION_NAME\n");
Status = STATUS_NOT_IMPLEMENTED;
break;
}
default:
{

View file

@ -49,7 +49,7 @@ CreateRootHubPdo(
DeviceExtension = (POHCI_DEVICE_EXTENSION)Pdo->DeviceExtension;
RtlZeroMemory(DeviceExtension, sizeof(OHCI_DEVICE_EXTENSION));
DeviceExtension->IsFDO = false;
DeviceExtension->IsFDO = FALSE;
DeviceExtension->FunctionalDeviceObject = Fdo;
Pdo->Flags &= ~DO_DEVICE_INITIALIZING;