diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-06-03 23:02:43 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2019-06-03 23:02:43 +0000 |
commit | a920eb0cb08da30f4d7d4345f42067fdf8ce7b9b (patch) | |
tree | 2c48ef25fbdf64d208fc06549ae1c878dda60f07 /libgo/runtime/go-libmain.c | |
parent | fbd4b7f39ee26f1258aff5b86ad0fba06f3edd5e (diff) | |
download | gcc-a920eb0cb08da30f4d7d4345f42067fdf8ce7b9b.zip gcc-a920eb0cb08da30f4d7d4345f42067fdf8ce7b9b.tar.gz gcc-a920eb0cb08da30f4d7d4345f42067fdf8ce7b9b.tar.bz2 |
runtime: remove unnecessary functions calling between C and Go
These functions were needed during the transition of the runtime from
C to Go, but are no longer necessary.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/179879
From-SVN: r271890
Diffstat (limited to 'libgo/runtime/go-libmain.c')
-rw-r--r-- | libgo/runtime/go-libmain.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libgo/runtime/go-libmain.c b/libgo/runtime/go-libmain.c index 8b5bab0..f379569 100644 --- a/libgo/runtime/go-libmain.c +++ b/libgo/runtime/go-libmain.c @@ -230,7 +230,6 @@ gostart (void *arg) runtime_args (a->argc, (byte **) a->argv); setncpu (getproccount ()); setpagesize (getpagesize ()); - runtime_sched = runtime_getsched(); runtime_schedinit (); __go_go ((uintptr)(runtime_main), NULL); runtime_mstart (runtime_m ()); |