core: drop duplicate code searching for match in nm_match_spec_device()
When searching for "*", we still need to check for higher priority "except:" matches. But don't duplicate the search loop and just proceed with the regular searched. It already has the "if (!except && match == NM_MATCH_SPEC_MATCH)" which short-cuts the search.
Showing with 9 additions and 24 deletions