diff options
author | zbao <fishbaozi@gmail.com> | 2015-11-06 14:28:56 +0800 |
---|---|---|
committer | Zheng Bao <zheng.bao@amd.com> | 2015-11-09 12:26:31 +0100 |
commit | f8537c1cd18ad4653672afaf8b881658a2470799 (patch) | |
tree | 97fdb2eaf18fe14014d8eb5d603bcf2ba57ef7da /src/commonlib | |
parent | 8bd1c36abbc1399e4e9359a53df416e56868fe90 (diff) |
commonlib: Remove unused static function.
Building with Clang without option -Wno-unused-function causes building
error. I don't know why GCC doesn't have that issue.
------------
coreboot/src/commonlib/fsp1_1_relocate.c:47:23: error:
unused function 'le8toh' [-Werror,-Wunused-function]
static inline uint8_t le8toh(uint8_t byte)
^
1 error generated.
------------
Change-Id: Iecd1e84e4321446412ef68d65dc918baf1ab45ce
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/12339
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: York Yang <york.yang@intel.com>
Diffstat (limited to 'src/commonlib')
-rw-r--r-- | src/commonlib/fsp1_1_relocate.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/commonlib/fsp1_1_relocate.c b/src/commonlib/fsp1_1_relocate.c index c6143eb13f..7165d862c7 100644 --- a/src/commonlib/fsp1_1_relocate.c +++ b/src/commonlib/fsp1_1_relocate.c @@ -43,12 +43,6 @@ static int guid_compare(const EFI_GUID *le_guid, const EFI_GUID *native_guid) ARRAY_SIZE(le_guid->Data4)); } -/* Provide this for symmetry when accessing UEFI fields. */ -static inline uint8_t le8toh(uint8_t byte) -{ - return byte; -} - static const EFI_GUID ffs2_guid = EFI_FIRMWARE_FILE_SYSTEM2_GUID; static const EFI_GUID fih_guid = FSP_INFO_HEADER_GUID; |