winebus.sys: Don't reset report descriptor when starting a collection.

Fixes regression introduced in 1200e9d472,
incorrectly split from hid_device_begin_report_descriptor.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2022-03-07 13:14:10 +01:00 committed by Alexandre Julliard
parent b1485bec41
commit 99ef287bb7

View file

@ -83,7 +83,6 @@ static BOOL hid_device_begin_collection(struct hid_report_descriptor *desc, cons
COLLECTION(1, type),
};
memset(desc, 0, sizeof(*desc));
return hid_report_descriptor_append(desc, template, sizeof(template));
}