]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad6b0a8623a8f607a95cf0469441e68376ef5ebf
tree66b76b18362a3d914b36a67d951732e95d1f7954
parent03a169e57a9a3fd69c1713c317a06f163ad63b5c
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