diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-11-24 13:11:39 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-11-26 11:46:06 +0000 |
commit | a3eb1252383a51775f6c470b5a44d83bd6c913c5 (patch) | |
tree | 89de9caaa46addd2fcea3ea441ebbf45d438ecc6 | |
parent | 3397ef9627c29319290126892744ce1c9bcc3d79 (diff) | |
download | coreboot-a3eb1252383a51775f6c470b5a44d83bd6c913c5.tar.xz |
security/vboot: Remove duplicate offsetof() definition
This macro is already defined in commonlib/helpers.h
Change-Id: I1fce2936757b13807e254f4a844f583b938bf349
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37181
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Alex James <theracermaster@gmail.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
-rw-r--r-- | src/security/vboot/secdata_tpm.c | 4 |
1 files changed, 0 insertions, 4 deletions
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 <vb2_api.h> #include <console/console.h> -#ifndef offsetof -#define offsetof(A,B) __builtin_offsetof(A,B) -#endif - #ifdef FOR_TEST #include <stdio.h> #define VBDEBUG(format, args...) printf(format, ## args) |