efi: efi-stub-helper cleanup
authorLeif Lindholm <leif.lindholm@linaro.org>
Fri, 4 Apr 2014 12:25:46 +0000 (13:25 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 16 Jun 2014 20:33:55 +0000 (21:33 +0100)
commit3de27ccc9bc06ebbde620ed2057bf7eb765c5858
treec0a67d80c43b02f1bf3bf233a634d8bb50a527b3
parent28a86520a1de542b17fcba08e23f7c661e759ecd
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>
(cherry picked from commit 9403e462fb5ffa9eeaa9663cb23ded02b7e603a3)
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/firmware/efi/efi-stub-helper.c