K 10 svn:author V 3 kib K 8 svn:date V 27 2017-04-30T19:32:51.446944Z K 7 svn:log V 322 Restructure normal (non-error) control flow in sem_close(). Do not retest for the found semaphore after the loop to look it up. Instead, handle both cases of last and non-last close simultaneously, which allows to consolidate the list unlock and successful return. Sponsored by: The FreeBSD Foundation MFC after: 1 week END