From a3eb1252383a51775f6c470b5a44d83bd6c913c5 Mon Sep 17 00:00:00 2001 From: Jacob Garber Date: Sun, 24 Nov 2019 13:11:39 -0700 Subject: security/vboot: Remove duplicate offsetof() definition This macro is already defined in commonlib/helpers.h Change-Id: I1fce2936757b13807e254f4a844f583b938bf349 Signed-off-by: Jacob Garber Reviewed-on: https://review.coreboot.org/c/coreboot/+/37181 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes Reviewed-by: Alex James Reviewed-by: Julius Werner --- src/security/vboot/secdata_tpm.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/security') diff --git a/src/security/vboot/secdata_tpm.c b/src/security/vboot/secdata_tpm.c index 38a1810d7f..2fbb30b008 100644 --- a/src/security/vboot/secdata_tpm.c +++ b/src/security/vboot/secdata_tpm.c @@ -40,10 +40,6 @@ #include #include -#ifndef offsetof -#define offsetof(A,B) __builtin_offsetof(A,B) -#endif - #ifdef FOR_TEST #include #define VBDEBUG(format, args...) printf(format, ## args) -- cgit v1.2.3