aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/proc.c')
-rw-r--r--src/runtime/proc.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/runtime/proc.c b/src/runtime/proc.c
index 4282a145e1..860701ee58 100644
--- a/src/runtime/proc.c
+++ b/src/runtime/proc.c
@@ -123,7 +123,6 @@ runtime·schedinit(void)
{
int32 n, procs;
byte *p;
- Eface i;
// raceinit must be the first call to race detector.
// In particular, it must be done before mallocinit below calls racemapshadow.
@@ -137,12 +136,6 @@ runtime·schedinit(void)
runtime·mallocinit();
mcommoninit(g->m);
- // Initialize the itable value for newErrorCString,
- // so that the next time it gets called, possibly
- // in a fault during a garbage collection, it will not
- // need to allocated memory.
- runtime·newErrorCString(0, &i);
-
runtime·goargs();
runtime·goenvs();
runtime·parsedebugvars();