summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-07 21:08:49 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-13 08:48:50 +0000
commite30c396ffabb3d3c966eecfcd291ca11b815ba7a (patch)
tree5730cbe86517af03fbefaaa8d56667ec8f208a71 /src/drivers
parentf70bd99d2af3627b1dbdbea414941a12d6ecf6b3 (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/drivers')
-rw-r--r--src/drivers/elog/boot_count.c1
-rw-r--r--src/drivers/usb/pci_ehci.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/drivers/elog/boot_count.c b/src/drivers/elog/boot_count.c
index 72ed173503..9da62127dc 100644
--- a/src/drivers/elog/boot_count.c
+++ b/src/drivers/elog/boot_count.c
@@ -3,7 +3,6 @@
#include <console/console.h>
#include <ip_checksum.h>
#include <pc80/mc146818rtc.h>
-#include <stddef.h>
#include <stdint.h>
#include <elog.h>
diff --git a/src/drivers/usb/pci_ehci.c b/src/drivers/usb/pci_ehci.c
index 993e6c64d6..d59ca32504 100644
--- a/src/drivers/usb/pci_ehci.c
+++ b/src/drivers/usb/pci_ehci.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <stddef.h>
#include <console/console.h>
#include <device/pci_ehci.h>
#include <device/mmio.h>