From 7b0f636452bdb1a4307c760ab4a7e6759b6dab05 Mon Sep 17 00:00:00 2001 From: Scott Duplichan Date: Fri, 10 Apr 2015 02:05:57 +0000 Subject: [PATCH] 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 Reviewed-by: Maurice Ma git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17143 6f19259b-4bc3-4df7-8a09-765794883524 --- CorebootModulePkg/Library/CbParseLib/CbParseLib.c | 10 ---------- 1 file changed, 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, -- 2.39.2