[ros-diffs] [hpoussin] 17302: Remove debug output and some useless code

hpoussin at svn.reactos.com hpoussin at svn.reactos.com
Thu Aug 11 22:13:37 CEST 2005


Remove debug output and some useless code
Replace false by FALSE
Modified: trunk/reactos/drivers/usb/cromwell/uhci/fdo.c
Modified: trunk/reactos/drivers/usb/cromwell/uhci/uhci.c
  _____  

Modified: trunk/reactos/drivers/usb/cromwell/uhci/fdo.c
--- trunk/reactos/drivers/usb/cromwell/uhci/fdo.c	2005-08-11
20:13:16 UTC (rev 17301)
+++ trunk/reactos/drivers/usb/cromwell/uhci/fdo.c	2005-08-11
20:13:26 UTC (rev 17302)
@@ -344,7 +344,6 @@

 					&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 @@
 			}
 			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:
 		{
  _____  

Modified: trunk/reactos/drivers/usb/cromwell/uhci/uhci.c
--- trunk/reactos/drivers/usb/cromwell/uhci/uhci.c	2005-08-11
20:13:16 UTC (rev 17301)
+++ trunk/reactos/drivers/usb/cromwell/uhci/uhci.c	2005-08-11
20:13:26 UTC (rev 17302)
@@ -49,7 +49,7 @@

 	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;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050811/25f85b3a/attachment.html


More information about the Ros-diffs mailing list