hid/tests: Remove redundant comparison. Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
diff --git a/dlls/hid/tests/device.c b/dlls/hid/tests/device.c index ef2f729..ce9b3a5 100644 --- a/dlls/hid/tests/device.c +++ b/dlls/hid/tests/device.c
@@ -167,7 +167,7 @@ { ULONG usage_length = 100; status = HidP_GetUsages(HidP_Input, i, 0, button_pages, &usage_length, ppd, data, data_length); - ok (status == HIDP_STATUS_SUCCESS || (status != HIDP_STATUS_SUCCESS && usage_length == 0), + ok (status == HIDP_STATUS_SUCCESS || usage_length == 0, "HidP_GetUsages failed (%x) but usage length still %i\n", status, usage_length); if (usage_length) {