stub: don't ask for variable data we actually don't care about
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Feb 2019 15:49:09 +0000 (16:49 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 1 Mar 2019 11:41:32 +0000 (12:41 +0100)
commit8118fb3c83bc813976e9fb4984bc80b13798d2a1
tree73550d5bc8f377e7aa530e597e9bdd26aaa932e9
parent0d957ef6cfc6b98c2e90ed81198a64437906763a
stub: don't ask for variable data we actually don't care about

Let's take benefit of the fact that efivar_get_xyz() take NULL pointers
for the return data: let's shorten the code a bit.
src/boot/efi/stub.c