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>
This commit is contained in:
parent
8bd1c36abb
commit
f8537c1cd1
|
@ -43,12 +43,6 @@ static int guid_compare(const EFI_GUID *le_guid, const EFI_GUID *native_guid)
|
||||||
ARRAY_SIZE(le_guid->Data4));
|
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 ffs2_guid = EFI_FIRMWARE_FILE_SYSTEM2_GUID;
|
||||||
static const EFI_GUID fih_guid = FSP_INFO_HEADER_GUID;
|
static const EFI_GUID fih_guid = FSP_INFO_HEADER_GUID;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue