mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-04 12:24:28 +02:00
EmbeddedPkg: Remove non-needed MDEPKG_NDEBUG dependent code
Remove small amount of MDEPKG_NDEBUG dependent code which is no longer needed, given update of 'null' debug macros in ae83c6b7fd83a5906e016a32027c1bcd792a624e to explicitly mark debug-only code as discarded. Additionally, correctly mark as STATIC the two arrays within the updated code block. Signed-off-by: Mike Beaton <mjsbeaton@gmail.com>
This commit is contained in:
parent
051ef932bd
commit
8f04804593
@ -8,16 +8,14 @@
|
|||||||
|
|
||||||
#include "Mmc.h"
|
#include "Mmc.h"
|
||||||
|
|
||||||
#if !defined (MDEPKG_NDEBUG)
|
STATIC CONST CHAR8 *mStrUnit[] = {
|
||||||
CONST CHAR8 *mStrUnit[] = {
|
|
||||||
"100kbit/s", "1Mbit/s", "10Mbit/s", "100MBit/s",
|
"100kbit/s", "1Mbit/s", "10Mbit/s", "100MBit/s",
|
||||||
"Unknown", "Unknown", "Unknown", "Unknown"
|
"Unknown", "Unknown", "Unknown", "Unknown"
|
||||||
};
|
};
|
||||||
CONST CHAR8 *mStrValue[] = {
|
STATIC CONST CHAR8 *mStrValue[] = {
|
||||||
"1.0", "1.2", "1.3", "1.5", "2.0", "2.5", "3.0", "3.5", "4.0", "4.5", "5.0",
|
"1.0", "1.2", "1.3", "1.5", "2.0", "2.5", "3.0", "3.5", "4.0", "4.5", "5.0",
|
||||||
"Unknown", "Unknown", "Unknown", "Unknown"
|
"Unknown", "Unknown", "Unknown", "Unknown"
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
PrintCID (
|
PrintCID (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user