From d5a0cc5a5ff9842cc411149f0b8fbdbd8e0ddd52 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Sat, 8 May 2021 22:38:53 +0200 Subject: device: Drop unused `uma_memory_{base,size}` globals These global variables are not used anywhere. Drop them. Change-Id: I3fe60b970153d913ae7b005257e2b53647d6f343 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/53977 Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) --- src/device/device.c | 6 ------ src/include/device/device.h | 6 ------ 2 files changed, 12 deletions(-) diff --git a/src/device/device.c b/src/device/device.c index aa10d6f451..56110225fa 100644 --- a/src/device/device.c +++ b/src/device/device.c @@ -66,12 +66,6 @@ void dev_finalize_chips(void) DECLARE_SPIN_LOCK(dev_lock) -#if CONFIG(GFXUMA) -/* IGD UMA memory */ -uint64_t uma_memory_base = 0; -uint64_t uma_memory_size = 0; -#endif - /** * Allocate a new device structure. * diff --git a/src/include/device/device.h b/src/include/device/device.h index 01e2c825a1..88b5310055 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -168,12 +168,6 @@ extern struct bus *free_links; extern const char mainboard_name[]; -#if CONFIG(GFXUMA) -/* IGD UMA memory */ -extern uint64_t uma_memory_base; -extern uint64_t uma_memory_size; -#endif - /* Generic device interface functions */ struct device *alloc_dev(struct bus *parent, struct device_path *path); void dev_initialize_chips(void); -- cgit v1.2.3