diff mbox

libgo patch committed: Remove unused variables

Message ID mcrfvp1vmmw.fsf@iant-glaptop.roam.corp.google.com
State New
Headers show

Commit Message

Ian Lance Taylor Jan. 6, 2014, 3:01 a.m. UTC
Dominik Vogt pointed out that libgo has some unused variables.  They are
copied from the gc repository, where they are used, but they make no
sense for gccgo.  This patch removes them.  Bootstrapped on
x86_64-unknown-linux-gnu, committed to mainline.

Ian
diff mbox

Patch

diff -r e55673d1a916 libgo/runtime/runtime.c
--- a/libgo/runtime/runtime.c	Sat Dec 28 10:00:05 2013 -0800
+++ b/libgo/runtime/runtime.c	Sun Jan 05 18:59:40 2014 -0800
@@ -58,11 +58,6 @@ 
   return argc == 0 ? nil : argv[0];
 }
 
-// Information about what cpu features are available.
-// Set on startup in asm_{x86/amd64}.s.
-uint32 runtime_cpuid_ecx;
-uint32 runtime_cpuid_edx;
-
 void
 runtime_goargs(void)
 {