remove unnecessary temp_entry variables and hoist simple check out of a loop. no functional change.  from Anton Maksimenkov
remove unnecessary temp_entry variables and hoist simple check out of a loop.
no functional change.  from Anton Maksimenkov

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