From a5dc9f1be86ad419a07b95640addf871a3c03ec6 Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Sat, 16 May 2015 16:36:17 +0200 Subject: Remove useless extern gnvs declaration in smi handlers. Change-Id: I3047badea8d4f61155f4e4f7d3d078426948162a Signed-off-by: Vladimir Serbinenko Reviewed-on: http://review.coreboot.org/10228 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/mainboard/lenovo/x230/smihandler.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/mainboard/lenovo/x230/smihandler.c') diff --git a/src/mainboard/lenovo/x230/smihandler.c b/src/mainboard/lenovo/x230/smihandler.c index 3fbcce7baf..6b946fa68c 100644 --- a/src/mainboard/lenovo/x230/smihandler.c +++ b/src/mainboard/lenovo/x230/smihandler.c @@ -36,11 +36,6 @@ #define GPE_EC_SCI 1 #define GPE_EC_WAKE 13 -/* The southbridge SMI handler checks whether gnvs has a - * valid pointer before calling the trap handler - */ -extern global_nvs_t *gnvs; - static void mainboard_smm_init(void) { printk(BIOS_DEBUG, "initializing SMI\n"); -- cgit v1.2.3