diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2020-05-07 21:08:49 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-13 08:48:50 +0000 |
commit | e30c396ffabb3d3c966eecfcd291ca11b815ba7a (patch) | |
tree | 5730cbe86517af03fbefaaa8d56667ec8f208a71 /src/security | |
parent | f70bd99d2af3627b1dbdbea414941a12d6ecf6b3 (diff) |
src: Remove unused '#include <stddef.h>'
Unused includes found using following commande:
diff <(git grep -l '#include <stddef.h>' -- src/) <(git grep -l
'size_t\|ssize_t\|wchar_t\|wint_t\|NULL\|DEVTREE_EARLY\|DEVTREE_CONST\
|MAYBE_STATIC_NONZERO\|MAYBE_STATIC_BSS\|zeroptr' -- src/)|grep '<'
|grep -v vendor |grep -vF '.h'
Change-Id: Ic54b1db995fe7c61b416fa5e1c4022238e4a6ad5
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41150
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/security')
-rw-r--r-- | src/security/intel/stm/StmPlatformSmm.c | 1 | ||||
-rw-r--r-- | src/security/vboot/vboot_common.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/security/intel/stm/StmPlatformSmm.c b/src/security/intel/stm/StmPlatformSmm.c index de41f418bd..1f57b50f6d 100644 --- a/src/security/intel/stm/StmPlatformSmm.c +++ b/src/security/intel/stm/StmPlatformSmm.c @@ -7,7 +7,6 @@ #include <cpu/x86/smm.h> #include <cpu/x86/msr.h> -#include <stddef.h> #include <cbfs.h> #include <console/console.h> #include <lib.h> diff --git a/src/security/vboot/vboot_common.c b/src/security/vboot/vboot_common.c index aeb6cefeb5..30a2c2f668 100644 --- a/src/security/vboot/vboot_common.c +++ b/src/security/vboot/vboot_common.c @@ -5,7 +5,6 @@ #include <console/cbmem_console.h> #include <fmap.h> #include <reset.h> -#include <stddef.h> #include <security/vboot/misc.h> #include <security/vboot/vboot_common.h> #include <security/vboot/vbnv.h> |