mirror of
				https://gitlab.com/qemu-project/edk2.git
				synced 2025-10-30 07:56:39 +08: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 ae83c6b7fd 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:
		 Mike Beaton
					Mike Beaton
				
			
				
					committed by
					
						![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
			
				
	
			
			
			![mergify[bot]](/assets/img/avatar_default.png) mergify[bot]
						mergify[bot]
					
				
			
						parent
						
							051ef932bd
						
					
				
				
					commit
					8f04804593
				
			| @ -8,16 +8,14 @@ | ||||
|  | ||||
| #include "Mmc.h" | ||||
|  | ||||
| #if !defined (MDEPKG_NDEBUG) | ||||
| CONST CHAR8  *mStrUnit[] = { | ||||
| STATIC CONST CHAR8  *mStrUnit[] = { | ||||
|   "100kbit/s", "1Mbit/s", "10Mbit/s", "100MBit/s", | ||||
|   "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", | ||||
|   "Unknown", "Unknown", "Unknown", "Unknown" | ||||
| }; | ||||
| #endif | ||||
|  | ||||
| VOID | ||||
| PrintCID ( | ||||
|  | ||||
		Reference in New Issue
	
	Block a user