rem: rg->m_MinNode.mln_Succ != NULL;
add: ! rc && rg->m_MinNode.mln_Succ != NULL;
context: FindConfiguration( struct ISAPNP_Device*   dev,                   struct ResourceContext* ctx,                   struct ISAPNPBase*      res ){  BOOL rc = FALSE;  struct ISAPNP_ResourceGroup* rg;  struct ResourceIteratorList* ril = NULL;#if 1    struct ISAPNP_Identifier* id;    KPrintF( "Logical device %ld: ",             dev->m_DeviceNumber );    for( id = (struct ISAPNP_Identifier*) dev->m_IDs.mlh_Head;         id->m_MinNode.mln_Succ != NULL;         id = (struct ISAPNP_Identifier*) id->m_MinNode.mln_Succ )    {      KPrintF( "%s%03lx%lx ", id->m_Vendor, id->m_ProductID, id->m_Revision );    }    if( dev->m_Node.ln_Name != NULL )    {      KPrintF( "('%s')", dev->m_Node.ln_Name );    }    KPrintF( "\n" );#endif  if( dev->m_Disabled || dev->m_Card->m_Disabled )  {    // Skip to next device        KPrintF( "DISABLED!\n" );    return FindNextCardConfiguration( dev, ctx, res );  }  ril = AllocResourceIteratorList( &dev->m_Options->m_Resources, ctx );  if( ril != NULL )  {    BOOL ril_iter_ok = TRUE;    while( ! rc && ril_iter_ok )    {      if( dev->m_Options->m_ResourceGroups.mlh_Head->mln_Succ != NULL )      {        // Handle resource options as well        for( rg = (struct ISAPNP_ResourceGroup*)                   dev->m_Options->m_ResourceGroups.mlh_Head;             rg->m_MinNode.mln_Succ != NULL;             rg = (struct ISAPNP_ResourceGroup*) rg->m_MinNode.mln_Succ )        {          struct ResourceIteratorList* ril_option = NULL;          ril_option = AllocResourceIteratorList( &rg->m_Resources, ctx );          if( ril_option != NULL )          {            BOOL ril2_iter_ok = TRUE;            while( ! rc && ril2_iter_ok )            {              rc = FindNextCardConfiguration( dev, ctx, res );                            if( ! rc )              {                ril2_iter_ok = IncResourceIteratorList( ril, ctx );              }            }            FreeResourceIteratorList( ril_option, ctx );          }        }      }      else      {        // Fixed resources only                rc = FindNextCardConfiguration( dev, ctx, res );      }      if( ! rc )      {        ril_iter_ok = IncResourceIteratorList( ril, ctx );      }    }    FreeResourceIteratorList( ril, ctx );  }    return rc;}