Don't tempt fate by TAILQ_REMOVE()'ing inside TAILQ_FOREACH(), even if we currently return immediately after the remove. Use for() idiom instead of TAILQ_FOREACH. Make clear we are doing a TAILQ_REMOVE() by eliminating wrapper function.
Don't tempt fate by TAILQ_REMOVE()'ing inside TAILQ_FOREACH(), even if
we currently return immediately after the remove. Use for() idiom
instead of TAILQ_FOREACH. Make clear we are doing a TAILQ_REMOVE() by
eliminating wrapper function.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars