aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainboard/gigabyte/ga-b75m-d3h/mainboard_smi.c
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2015-05-16 16:36:17 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2015-05-19 16:22:24 +0200
commita5dc9f1be86ad419a07b95640addf871a3c03ec6 (patch)
tree1f64cb328a07c2d6d9423dd8115a2c85a5515343 /src/mainboard/gigabyte/ga-b75m-d3h/mainboard_smi.c
parent89d17bb08718afc293bdab8b226c1557cf2deab6 (diff)
downloadcoreboot-a5dc9f1be86ad419a07b95640addf871a3c03ec6.tar.gz
coreboot-a5dc9f1be86ad419a07b95640addf871a3c03ec6.tar.xz
coreboot-a5dc9f1be86ad419a07b95640addf871a3c03ec6.zip
Remove useless extern gnvs declaration in smi handlers.
Change-Id: I3047badea8d4f61155f4e4f7d3d078426948162a Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/10228 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/mainboard/gigabyte/ga-b75m-d3h/mainboard_smi.c')
-rw-r--r--src/mainboard/gigabyte/ga-b75m-d3h/mainboard_smi.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mainboard/gigabyte/ga-b75m-d3h/mainboard_smi.c b/src/mainboard/gigabyte/ga-b75m-d3h/mainboard_smi.c
index 35702f087..85409fccb 100644
--- a/src/mainboard/gigabyte/ga-b75m-d3h/mainboard_smi.c
+++ b/src/mainboard/gigabyte/ga-b75m-d3h/mainboard_smi.c
@@ -31,11 +31,6 @@
#include <northbridge/intel/sandybridge/sandybridge.h>
#include <cpu/intel/model_206ax/model_206ax.h>
-/* 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");