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/soc/mediatek | |
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/soc/mediatek')
-rw-r--r-- | src/soc/mediatek/common/cbmem.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/common/ddp.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/common/mtcmos.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/mt8173/ddp.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/mt8183/ddp.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/mt8183/pll.c | 1 |
6 files changed, 0 insertions, 6 deletions
diff --git a/src/soc/mediatek/common/cbmem.c b/src/soc/mediatek/common/cbmem.c index 871d7dd142..f9d11e91c5 100644 --- a/src/soc/mediatek/common/cbmem.c +++ b/src/soc/mediatek/common/cbmem.c @@ -2,7 +2,6 @@ #include <cbmem.h> #include <commonlib/helpers.h> -#include <stddef.h> #include <symbols.h> #include <soc/emi.h> diff --git a/src/soc/mediatek/common/ddp.c b/src/soc/mediatek/common/ddp.c index 64e6e7a778..17a28494f7 100644 --- a/src/soc/mediatek/common/ddp.c +++ b/src/soc/mediatek/common/ddp.c @@ -2,7 +2,6 @@ #include <device/mmio.h> #include <edid.h> -#include <stddef.h> #include <soc/addressmap.h> #include <soc/ddp.h> diff --git a/src/soc/mediatek/common/mtcmos.c b/src/soc/mediatek/common/mtcmos.c index e5d70b806d..71deb71c77 100644 --- a/src/soc/mediatek/common/mtcmos.c +++ b/src/soc/mediatek/common/mtcmos.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <stddef.h> #include <device/mmio.h> #include <soc/mtcmos.h> diff --git a/src/soc/mediatek/mt8173/ddp.c b/src/soc/mediatek/mt8173/ddp.c index 93ef0b6544..ec53e12dee 100644 --- a/src/soc/mediatek/mt8173/ddp.c +++ b/src/soc/mediatek/mt8173/ddp.c @@ -2,7 +2,6 @@ #include <device/mmio.h> #include <edid.h> -#include <stddef.h> #include <soc/addressmap.h> #include <soc/ddp.h> #include <types.h> diff --git a/src/soc/mediatek/mt8183/ddp.c b/src/soc/mediatek/mt8183/ddp.c index d427dcb233..13918a07f4 100644 --- a/src/soc/mediatek/mt8183/ddp.c +++ b/src/soc/mediatek/mt8183/ddp.c @@ -2,7 +2,6 @@ #include <device/mmio.h> #include <edid.h> -#include <stddef.h> #include <soc/addressmap.h> #include <soc/ddp.h> diff --git a/src/soc/mediatek/mt8183/pll.c b/src/soc/mediatek/mt8183/pll.c index dedd59d4f2..4570269421 100644 --- a/src/soc/mediatek/mt8183/pll.c +++ b/src/soc/mediatek/mt8183/pll.c @@ -2,7 +2,6 @@ #include <device/mmio.h> #include <delay.h> -#include <stddef.h> #include <soc/addressmap.h> #include <soc/infracfg.h> |