diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2020-05-11 18:13:33 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-05-13 08:54:14 +0000 |
commit | bc867d5b1d47e961b563431ec602934280fcbb96 (patch) | |
tree | 5faae48f6a345421e9a957f722faea2260340d14 /src/soc | |
parent | 6a197964d9f21305595d5f8dba3b7ad1f0547307 (diff) | |
download | coreboot-bc867d5b1d47e961b563431ec602934280fcbb96.tar.xz |
src/mainboard: Remove unused 'include <stdlib.h>'
Found using following commande:
diff <(git grep -l '#include <stdlib.h>' -- src/) <(git grep -l '
memalign\|malloc\|free' -- src/) |grep -v vendorcode |grep '<'
Change-Id: Ib2ee840a10de5c10d57aa7a75b805ef69dc8da84
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/41241
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/intel/xeon_sp/skx/soc_util.c | 1 | ||||
-rw-r--r-- | src/soc/mediatek/mt8173/dramc_pi_calibration_api.c | 1 | ||||
-rw-r--r-- | src/soc/qualcomm/sc7180/usb.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/src/soc/intel/xeon_sp/skx/soc_util.c b/src/soc/intel/xeon_sp/skx/soc_util.c index 03c5fac7e9..aa965b6cce 100644 --- a/src/soc/intel/xeon_sp/skx/soc_util.c +++ b/src/soc/intel/xeon_sp/skx/soc_util.c @@ -16,7 +16,6 @@ #include <soc/pci_devs.h> #include <soc/pcr_ids.h> #include <soc/soc_util.h> -#include <stdlib.h> #include <soc/util.h> #include <timer.h> diff --git a/src/soc/mediatek/mt8173/dramc_pi_calibration_api.c b/src/soc/mediatek/mt8173/dramc_pi_calibration_api.c index 10c678a062..79d54aa784 100644 --- a/src/soc/mediatek/mt8173/dramc_pi_calibration_api.c +++ b/src/soc/mediatek/mt8173/dramc_pi_calibration_api.c @@ -2,7 +2,6 @@ #include <device/mmio.h> #include <console/console.h> -#include <stdlib.h> #include <soc/addressmap.h> #include <soc/dramc_common.h> #include <soc/dramc_register.h> diff --git a/src/soc/qualcomm/sc7180/usb.c b/src/soc/qualcomm/sc7180/usb.c index 1c93e8009b..c4b65d6e4e 100644 --- a/src/soc/qualcomm/sc7180/usb.c +++ b/src/soc/qualcomm/sc7180/usb.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include <stdlib.h> #include <console/console.h> #include <delay.h> #include <device/mmio.h> |