efivars: Use local variables instead of a pointer dereference
authorMatt Fleming <matt.fleming@intel.com>
Sun, 16 Mar 2014 12:14:49 +0000 (12:14 +0000)
committerMark Brown <broonie@linaro.org>
Wed, 23 Jul 2014 20:06:46 +0000 (21:06 +0100)
commit0a421a5ce423f9c06f515067e625349a3b19e112
tree799af942b9f502824ca4f44dce175db74814fbfd
parent3abf158377f8bf95e3ac149605ade4c24c80de77
efivars: Use local variables instead of a pointer dereference

In order to support a compat interface we need to stop passing pointers
to structures around, since the type of structure is going to depend on
whether the current task is a compat task.

Cc: Mike Waychison <mikew@google.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
(cherry picked from commit bafc84d539c0ffa916037840df54428623abc3e6)
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/firmware/efi/efivars.c