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)
committerMatt Fleming <matt.fleming@intel.com>
Thu, 17 Apr 2014 12:53:28 +0000 (13:53 +0100)
commitbafc84d539c0ffa916037840df54428623abc3e6
tree906244e36c50e316662ab28f25386ae60a209786
parentb738c6ea49b4e98e6ca0651da82a610f996a16ae
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>
drivers/firmware/efi/efivars.c