setupapi: Remove a redundant parameter check.
This commit is contained in:
parent
6682012209
commit
15eba01660
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue