setupapi: Remove a redundant parameter check.

This commit is contained in:
Juan Lang 2007-09-21 11:35:19 -07:00 committed by Alexandre Julliard
parent 6682012209
commit 15eba01660
1 changed files with 0 additions and 2 deletions

View File

@ -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;