diff options
author | Scott Duplichan <scott@notabs.org> | 2015-04-10 02:05:57 +0000 |
---|---|---|
committer | mauricema <mauricema@Edk2> | 2015-04-10 02:05:57 +0000 |
commit | 7b0f636452bdb1a4307c760ab4a7e6759b6dab05 (patch) | |
tree | 38268dc13540e41039e2e45f3243f0a19401891e /CorebootModulePkg/Library/CbParseLib/CbParseLib.c | |
parent | 5451fff49c904ea781cfbaef2a7cae3bd697c5b3 (diff) | |
download | edk2-platforms-7b0f636452bdb1a4307c760ab4a7e6759b6dab05.tar.xz |
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
Diffstat (limited to 'CorebootModulePkg/Library/CbParseLib/CbParseLib.c')
-rw-r--r-- | CorebootModulePkg/Library/CbParseLib/CbParseLib.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/CorebootModulePkg/Library/CbParseLib/CbParseLib.c b/CorebootModulePkg/Library/CbParseLib/CbParseLib.c index 4dc74abb13..0e1163245f 100644 --- a/CorebootModulePkg/Library/CbParseLib/CbParseLib.c +++ b/CorebootModulePkg/Library/CbParseLib/CbParseLib.c @@ -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,
|