mirror of https://github.com/acidanthera/audk.git
CorebootModulePkg: Remove unused static functions to prevent gcc build fail
The gcc build will fail with -Werror=unused-function when a compilation unit defines a static function but never calls it. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Scott Duplichan <scott@notabs.org> Reviewed-by: Maurice Ma <maurice.ma@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17143 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
5451fff49c
commit
7b0f636452
|
@ -31,16 +31,6 @@ static UINT64 cb_unpack64(struct cbuint64 val)
|
|||
return LShiftU64 (val.hi, 32) | val.lo;
|
||||
}
|
||||
|
||||
static const char *cb_mb_vendor_string(const struct cb_mainboard *cbm)
|
||||
{
|
||||
return (char *)(cbm->strings + cbm->vendor_idx);
|
||||
}
|
||||
|
||||
static const char *cb_mb_part_string(const struct cb_mainboard *cbm)
|
||||
{
|
||||
return (char *)(cbm->strings + cbm->part_number_idx);
|
||||
}
|
||||
|
||||
UINT16
|
||||
CbCheckSum16 (
|
||||
IN UINT16 *Buffer,
|
||||
|
|
Loading…
Reference in New Issue