summaryrefslogtreecommitdiff
path: root/src/device
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 /src/device
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>
Diffstat (limited to 'src/device')
-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
4 files changed, 0 insertions, 4 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>