Commit 439b80e4 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

winebus.sys: Don't WARN about backends we didn't build.

parent 1413f577
......@@ -409,6 +409,7 @@ NTSTATUS iohid_driver_init(void)
return STATUS_UNSUCCESSFUL;
}
TRACE("Initialization successful\n");
return STATUS_SUCCESS;
}
......@@ -429,7 +430,6 @@ void iohid_driver_unload( void )
NTSTATUS iohid_driver_init(void)
{
WARN("IOHID Support not compiled into Wine.\n");
return STATUS_NOT_IMPLEMENTED;
}
......
......@@ -1145,9 +1145,13 @@ NTSTATUS sdl_driver_init(void)
map_controllers = check_bus_option(&controller_mode, 1);
if (!(events[0] = CreateEventW(NULL, TRUE, FALSE, NULL)))
{
WARN("CreateEvent failed\n");
return STATUS_UNSUCCESSFUL;
}
if (!(events[1] = CreateThread(NULL, 0, deviceloop_thread, events[0], 0, NULL)))
{
WARN("CreateThread failed\n");
CloseHandle(events[0]);
return STATUS_UNSUCCESSFUL;
}
......@@ -1171,7 +1175,6 @@ sym_not_found:
NTSTATUS sdl_driver_init(void)
{
WARN("compiled without SDL support\n");
return STATUS_NOT_IMPLEMENTED;
}
......
......@@ -1529,7 +1529,6 @@ error:
NTSTATUS udev_driver_init(void)
{
WARN("Wine was compiled without UDEV support\n");
return STATUS_NOT_IMPLEMENTED;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment