Initialize DeviceNumber to 0
authorAleksey Bragin <aleksey@reactos.org>
Thu, 15 Sep 2005 12:50:40 +0000 (12:50 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Thu, 15 Sep 2005 12:50:40 +0000 (12:50 +0000)
svn path=/trunk/; revision=17857

reactos/drivers/usb/miniport/common/main.c

index a6a1ce2..38b1873 100644 (file)
@@ -64,7 +64,6 @@ CreateRootHubPdo(
        *pPdo = Pdo;
        return STATUS_SUCCESS;
 }
-
 #if 0
 static NTSTATUS
 AddDevice_Keyboard(
@@ -168,7 +167,7 @@ AddDevice(
        }
 
        // Create a unicode device name
-//     DeviceNumber = 0; //TODO: Allocate new device number every time
+       DeviceNumber = 0; //TODO: Allocate new device number every time
        swprintf(DeviceBuffer, L"\\Device\\USBFDO-%lu", DeviceNumber);
        RtlInitUnicodeString(&DeviceName, DeviceBuffer);