efi: efi-stub-helper cleanup
authorLeif Lindholm <leif.lindholm@linaro.org>
Fri, 4 Apr 2014 12:25:46 +0000 (13:25 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Mon, 14 Apr 2014 16:49:20 +0000 (17:49 +0100)
commit9403e462fb5ffa9eeaa9663cb23ded02b7e603a3
tree66b76b18362a3d914b36a67d951732e95d1f7954
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
efi: efi-stub-helper cleanup

An #ifdef CONFIG_ARM clause in efi-stub-helper.c got included with some
of the generic stub rework by Roy Franz. Drop it here to make subsequent
patches less confusing.

Also, In handle_cmdline_files(), fh is not initialized, and while the
overall logic around this handling appears safe, gcc does not always
pick this up. Initialize to NULL to remove the resulting warning.

Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
drivers/firmware/efi/efi-stub-helper.c