summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-11-30 19:32:33 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-12-19 05:25:56 +0000
commitb12c2761f4c5dc0f812481620b0d73faf49d0495 (patch)
treee1ddea2c13d8f7134353bd5ed6bb3f6ec4f38748
parent94b503094f8a424a02b18bb7f09c639c896df85e (diff)
downloadcoreboot-b12c2761f4c5dc0f812481620b0d73faf49d0495.tar.xz
src/{drivers,device,ec}: Remove unused <stdlib.h>
Change-Id: I05422ee4b0aa5c02525ef0b4eccb4dc3ecf871e8 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32822 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/device/i2c_bus.c1
-rw-r--r--src/device/oprom/realmode/x86.c1
-rw-r--r--src/device/pci_class.c1
-rw-r--r--src/device/pnp_device.c1
-rw-r--r--src/drivers/aspeed/ast2050/ast2050.c1
-rw-r--r--src/drivers/emulation/qemu/bochs.c1
-rw-r--r--src/drivers/emulation/qemu/cirrus.c1
-rw-r--r--src/drivers/i2c/rtd2132/rtd2132.c1
-rw-r--r--src/drivers/intel/fsp2_0/include/fsp/info_header.h1
-rw-r--r--src/drivers/intel/gma/intel_ddi.c1
-rw-r--r--src/drivers/net/ne2k.c1
-rw-r--r--src/drivers/parade/ps8625/ps8625.c1
-rw-r--r--src/drivers/sil/3114/sil_sata.c1
-rw-r--r--src/drivers/smmstore/store.c1
-rw-r--r--src/drivers/uart/uart8250io.c1
-rw-r--r--src/drivers/vpd/vpd.c1
-rw-r--r--src/drivers/vpd/vpd_cbmem.c1
-rw-r--r--src/ec/google/chromeec/ec_lpc.c1
-rw-r--r--src/ec/google/chromeec/vstore.c1
-rw-r--r--src/ec/google/wilco/chip.c1
20 files changed, 0 insertions, 20 deletions
diff --git a/src/device/i2c_bus.c b/src/device/i2c_bus.c
index 93634d223b..5d69efb73f 100644
--- a/src/device/i2c_bus.c
+++ b/src/device/i2c_bus.c
@@ -11,7 +11,6 @@
* GNU General Public License for more details.
*/
-#include <stdlib.h>
#include <stdint.h>
#include <console/console.h>
#include <device/smbus.h>
diff --git a/src/device/oprom/realmode/x86.c b/src/device/oprom/realmode/x86.c
index 1026ddb7ff..8ba0241ea4 100644
--- a/src/device/oprom/realmode/x86.c
+++ b/src/device/oprom/realmode/x86.c
@@ -21,7 +21,6 @@
#include <device/pci_ids.h>
#include <pc80/i8259.h>
#include <pc80/i8254.h>
-#include <stdlib.h>
#include <string.h>
#include <vbe.h>
diff --git a/src/device/pci_class.c b/src/device/pci_class.c
index 0aa2f2890a..e084c77bf1 100644
--- a/src/device/pci_class.c
+++ b/src/device/pci_class.c
@@ -14,7 +14,6 @@
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ops.h>
-#include <stdlib.h>
typedef struct {
const unsigned char subclass_id;
diff --git a/src/device/pnp_device.c b/src/device/pnp_device.c
index 1852fc1b16..c58b375277 100644
--- a/src/device/pnp_device.c
+++ b/src/device/pnp_device.c
@@ -12,7 +12,6 @@
*/
#include <console/console.h>
-#include <stdlib.h>
#include <stdint.h>
#include <arch/io.h>
#include <device/device.h>
diff --git a/src/drivers/aspeed/ast2050/ast2050.c b/src/drivers/aspeed/ast2050/ast2050.c
index 67a1a803fe..8bc73078c7 100644
--- a/src/drivers/aspeed/ast2050/ast2050.c
+++ b/src/drivers/aspeed/ast2050/ast2050.c
@@ -11,7 +11,6 @@
* GNU General Public License for more details.
*/
-#include <stdlib.h>
#include <arch/io.h>
#include <edid.h>
#include <console/console.h>
diff --git a/src/drivers/emulation/qemu/bochs.c b/src/drivers/emulation/qemu/bochs.c
index f49b72cdfa..d9e4ce1d6e 100644
--- a/src/drivers/emulation/qemu/bochs.c
+++ b/src/drivers/emulation/qemu/bochs.c
@@ -13,7 +13,6 @@
#include <stdint.h>
#include <edid.h>
-#include <stdlib.h>
#include <arch/io.h>
#include <console/console.h>
#include <device/device.h>
diff --git a/src/drivers/emulation/qemu/cirrus.c b/src/drivers/emulation/qemu/cirrus.c
index 43710d9ece..6b1968c31d 100644
--- a/src/drivers/emulation/qemu/cirrus.c
+++ b/src/drivers/emulation/qemu/cirrus.c
@@ -14,7 +14,6 @@
#include <stdint.h>
#include <edid.h>
-#include <stdlib.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/drivers/i2c/rtd2132/rtd2132.c b/src/drivers/i2c/rtd2132/rtd2132.c
index 168f921e67..22eeaa83be 100644
--- a/src/drivers/i2c/rtd2132/rtd2132.c
+++ b/src/drivers/i2c/rtd2132/rtd2132.c
@@ -11,7 +11,6 @@
* GNU General Public License for more details.
*/
-#include <stdlib.h>
#include <console/console.h>
#include <delay.h>
#include <device/device.h>
diff --git a/src/drivers/intel/fsp2_0/include/fsp/info_header.h b/src/drivers/intel/fsp2_0/include/fsp/info_header.h
index d9ca73fd7a..fd09f41305 100644
--- a/src/drivers/intel/fsp2_0/include/fsp/info_header.h
+++ b/src/drivers/intel/fsp2_0/include/fsp/info_header.h
@@ -16,7 +16,6 @@
#define _FSP2_0_INFO_HEADER_H_
#include <stdint.h>
-#include <stdlib.h>
#include <types.h>
#define FSP_HDR_OFFSET 0x94
diff --git a/src/drivers/intel/gma/intel_ddi.c b/src/drivers/intel/gma/intel_ddi.c
index 563f01bee6..d52b2933c6 100644
--- a/src/drivers/intel/gma/intel_ddi.c
+++ b/src/drivers/intel/gma/intel_ddi.c
@@ -27,7 +27,6 @@
*/
#include <types.h>
-#include <stdlib.h>
#include <device/device.h>
#include <device/pci_def.h>
#include <console/console.h>
diff --git a/src/drivers/net/ne2k.c b/src/drivers/net/ne2k.c
index 35d45ea624..b1d72de084 100644
--- a/src/drivers/net/ne2k.c
+++ b/src/drivers/net/ne2k.c
@@ -32,7 +32,6 @@ SMC8416 PIO support added by Andrew Bettison (andrewb@zip.com.au) on 4/3/02
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ops.h>
-#include <stdlib.h>
#include <ip_checksum.h>
#include "ns8390.h"
diff --git a/src/drivers/parade/ps8625/ps8625.c b/src/drivers/parade/ps8625/ps8625.c
index c86c4d4100..8fd03b8b05 100644
--- a/src/drivers/parade/ps8625/ps8625.c
+++ b/src/drivers/parade/ps8625/ps8625.c
@@ -13,7 +13,6 @@
#include <device/i2c_simple.h>
#include <stdint.h>
-#include <stdlib.h>
#include "ps8625.h"
diff --git a/src/drivers/sil/3114/sil_sata.c b/src/drivers/sil/3114/sil_sata.c
index 5fc58c8a35..c38e642016 100644
--- a/src/drivers/sil/3114/sil_sata.c
+++ b/src/drivers/sil/3114/sil_sata.c
@@ -11,7 +11,6 @@
* GNU General Public License for more details.
*/
-#include <stdlib.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/drivers/smmstore/store.c b/src/drivers/smmstore/store.c
index 23d2af015f..e0bfa10e0b 100644
--- a/src/drivers/smmstore/store.c
+++ b/src/drivers/smmstore/store.c
@@ -18,7 +18,6 @@
#include <commonlib/region.h>
#include <console/console.h>
#include <smmstore.h>
-#include <stdlib.h>
#include <types.h>
/*
diff --git a/src/drivers/uart/uart8250io.c b/src/drivers/uart/uart8250io.c
index 58e014170a..1b9194ec2d 100644
--- a/src/drivers/uart/uart8250io.c
+++ b/src/drivers/uart/uart8250io.c
@@ -11,7 +11,6 @@
* GNU General Public License for more details.
*/
-#include <stdlib.h>
#include <arch/io.h>
#include <boot/coreboot_tables.h>
#include <console/uart.h>
diff --git a/src/drivers/vpd/vpd.c b/src/drivers/vpd/vpd.c
index ab77a01bff..7ed1255357 100644
--- a/src/drivers/vpd/vpd.c
+++ b/src/drivers/vpd/vpd.c
@@ -8,7 +8,6 @@
#include <console/console.h>
#include <cbmem.h>
#include <fmap.h>
-#include <stdlib.h>
#include <string.h>
#include <timestamp.h>
diff --git a/src/drivers/vpd/vpd_cbmem.c b/src/drivers/vpd/vpd_cbmem.c
index 5b685069aa..a0bb161287 100644
--- a/src/drivers/vpd/vpd_cbmem.c
+++ b/src/drivers/vpd/vpd_cbmem.c
@@ -7,7 +7,6 @@
#include <console/console.h>
#include <cbmem.h>
#include <fmap.h>
-#include <stdlib.h>
#include <string.h>
#include <timestamp.h>
diff --git a/src/ec/google/chromeec/ec_lpc.c b/src/ec/google/chromeec/ec_lpc.c
index 1d7e7ee7c8..6bc4fbd310 100644
--- a/src/ec/google/chromeec/ec_lpc.c
+++ b/src/ec/google/chromeec/ec_lpc.c
@@ -20,7 +20,6 @@
#include <device/pnp.h>
#include <ec/google/common/mec.h>
#include <stdint.h>
-#include <stdlib.h>
#include "chip.h"
#include "ec.h"
diff --git a/src/ec/google/chromeec/vstore.c b/src/ec/google/chromeec/vstore.c
index 28c26036ba..50e964f27b 100644
--- a/src/ec/google/chromeec/vstore.c
+++ b/src/ec/google/chromeec/vstore.c
@@ -15,7 +15,6 @@
#include <stdint.h>
#include <string.h>
-#include <stdlib.h>
#include "ec.h"
#include "ec_commands.h"
diff --git a/src/ec/google/wilco/chip.c b/src/ec/google/wilco/chip.c
index 09211f82ab..70e612442c 100644
--- a/src/ec/google/wilco/chip.c
+++ b/src/ec/google/wilco/chip.c
@@ -22,7 +22,6 @@
#include <ec/acpi/ec.h>
#include <pc80/keyboard.h>
#include <stdint.h>
-#include <stdlib.h>
#include "commands.h"
#include "ec.h"