hidclass.sys: Remove check for negative value.
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>
This commit is contained in:
parent
4438b2706b
commit
495ade93ba
|
@ -440,10 +440,8 @@ static void parse_io_feature(unsigned int bSize, int itemVal, int bTag,
|
|||
static void parse_collection(unsigned int bSize, int itemVal,
|
||||
struct collection *collection)
|
||||
{
|
||||
if (bSize <= 0)
|
||||
return;
|
||||
else
|
||||
{
|
||||
if (bSize)
|
||||
{
|
||||
collection->type = itemVal;
|
||||
|
||||
if (itemVal >= 0x07 && itemVal <= 0x7F) {
|
||||
|
|
Loading…
Reference in New Issue