Commit 15eba016 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

setupapi: Remove a redundant parameter check.

parent 66820122
......@@ -1109,8 +1109,6 @@ BOOL WINAPI SetupDiEnumDeviceInfo(
if(info==NULL)
return FALSE;
if(info->cbSize < sizeof(*info))
return FALSE;
if (devinfo && devinfo != (HDEVINFO)INVALID_HANDLE_VALUE)
{
struct DeviceInfoSet *list = (struct DeviceInfoSet *)devinfo;
......
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