remove dead assignment and newly created unused variable.
remove dead assignment and newly created unused variable.

Found by LLVM/Clang Static Analyzer.

ok dlg@ marco@

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