summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-05-27 12:43:10 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-05-29 02:51:20 +0000
commit877fafab57affc34d7e4636938b180fcc5c30e9c (patch)
tree066061317e943f998776bf9325c446765ba45973 /src/ec
parent5d1494adda44dfaa0167aaa2f024c4ab351a82ad (diff)
tree: Remove unused <stddef.h>
Change-Id: I7d7ad562eeff7247b7377b6570d489faee0aeda0 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82669 Reviewed-by: Yu-Ping Wu <yupingso@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yidi Lin <yidilin@google.com>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/google/chromeec/ec_skuid.c1
-rw-r--r--src/ec/google/chromeec/ec_smbios.c1
-rw-r--r--src/ec/purism/librem-ec/librem_ec.c2
3 files changed, 1 insertions, 3 deletions
diff --git a/src/ec/google/chromeec/ec_skuid.c b/src/ec/google/chromeec/ec_skuid.c
index 259ce44f2a..c0e079c5f0 100644
--- a/src/ec/google/chromeec/ec_skuid.c
+++ b/src/ec/google/chromeec/ec_skuid.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
-#include <stddef.h>
#include <ec/google/chromeec/ec.h>
uint32_t google_chromeec_get_board_sku(void)
diff --git a/src/ec/google/chromeec/ec_smbios.c b/src/ec/google/chromeec/ec_smbios.c
index d804f6431c..cd7ac2e8ba 100644
--- a/src/ec/google/chromeec/ec_smbios.c
+++ b/src/ec/google/chromeec/ec_smbios.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
-#include <stddef.h>
#include <ec/google/chromeec/ec.h>
#include <console/console.h>
#include <string.h>
diff --git a/src/ec/purism/librem-ec/librem_ec.c b/src/ec/purism/librem-ec/librem_ec.c
index 8298b73644..8cc7382335 100644
--- a/src/ec/purism/librem-ec/librem_ec.c
+++ b/src/ec/purism/librem-ec/librem_ec.c
@@ -1,8 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
+#include <commonlib/bsd/helpers.h>
#include "librem_ec.h"
#include "../../system76/ec/system76_ec.h"
-#include <stddef.h>
#define CMD_PROBE 1