Author: hpoussin Date: Mon Aug 7 15:03:35 2006 New Revision: 23515
URL: http://svn.reactos.org/svn/reactos?rev=23515&view=rev Log: Skip first call to AddDevice
Modified: trunk/reactos/drivers/input/sermouse/fdo.c
Modified: trunk/reactos/drivers/input/sermouse/fdo.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/input/sermouse/fdo.... ============================================================================== --- trunk/reactos/drivers/input/sermouse/fdo.c (original) +++ trunk/reactos/drivers/input/sermouse/fdo.c Mon Aug 7 15:03:35 2006 @@ -22,6 +22,9 @@ NTSTATUS Status;
DPRINT("SermouseAddDevice called. Pdo = 0x%p\n", Pdo); + + if (Pdo == NULL) + return STATUS_SUCCESS;
/* Create new device object */ DriverExtension = IoGetDriverObjectExtension(DriverObject, DriverObject);