setupapi/tests: Remove a duplicate function call.

This commit is contained in:
Paul Vriens 2008-05-21 16:45:50 +02:00 committed by Alexandre Julliard
parent 8021a9d903
commit 59b6506439

View File

@ -492,7 +492,6 @@ static void testRegisterDeviceInfo(void)
ret = pSetupDiRegisterDeviceInfo(NULL, NULL, 0, NULL, NULL, NULL);
ok(!ret && GetLastError() == ERROR_INVALID_HANDLE,
"Expected ERROR_INVALID_HANDLE, got %d\n", GetLastError());
ret = pSetupDiRegisterDeviceInfo(NULL, NULL, 0, NULL, NULL, NULL);
set = pSetupDiCreateDeviceInfoList(&guid, NULL);
ok(set != NULL, "SetupDiCreateDeviceInfoList failed: %d\n", GetLastError());
if (set)