Commit 495ade93 authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

hidclass.sys: Remove check for negative value.

parent 4438b270
......@@ -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) {
......
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