Remove extra NULL #define in amdht code. The
common one is enough. Trivial Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Patrick Georgi <patrick.georgi@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5540 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
		| @@ -8,9 +8,7 @@ typedef long ssize_t; | |||||||
| typedef int wchar_t; | typedef int wchar_t; | ||||||
| typedef unsigned int wint_t; | typedef unsigned int wint_t; | ||||||
|  |  | ||||||
| #ifndef NULL |  | ||||||
| #define NULL ((void *)0) | #define NULL ((void *)0) | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) | #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER) | ||||||
|  |  | ||||||
|   | |||||||
| @@ -77,10 +77,6 @@ void CALLCONV AmdPCIWrite(SBDFO loc, uint32 *Value); | |||||||
| void CALLCONV AmdCPUIDRead(uint32 Address, uint32 Regs[4]); | void CALLCONV AmdCPUIDRead(uint32 Address, uint32 Regs[4]); | ||||||
| void CALLCONV ErrorStop(uint32 Value); | void CALLCONV ErrorStop(uint32 Value); | ||||||
|  |  | ||||||
| #ifndef NULL |  | ||||||
| #define NULL ((void *) 0) |  | ||||||
| #endif |  | ||||||
|  |  | ||||||
| #define BYTESIZE 1 | #define BYTESIZE 1 | ||||||
| #define WORDSIZE 2 | #define WORDSIZE 2 | ||||||
| #define DWORDSIZE 4 | #define DWORDSIZE 4 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user