diff --git a/reactos/lib/setupapi/devinst.c b/reactos/lib/setupapi/devinst.c index b88d805db07..f62dc264a74 100644 --- a/reactos/lib/setupapi/devinst.c +++ b/reactos/lib/setupapi/devinst.c @@ -3873,12 +3873,6 @@ SetupDiOpenDeviceInfoW( if (deviceInfo) { /* good one found */ - if (DeviceInfoData) - { - memcpy(&DeviceInfoData->ClassGuid, &deviceInfo->ClassGuid, sizeof(GUID)); - DeviceInfoData->DevInst = 0; /* FIXME */ - DeviceInfoData->Reserved = (ULONG_PTR)deviceInfo; - } ret = TRUE; } else