runtime: clean up unused function gosave on loong64

Change-Id: I28960a33d251a36e5e364fa6e27c5b2e13349f6b
Reviewed-on: https://go-review.googlesource.com/c/go/+/409354
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: David Chase <drchase@google.com>
diff --git a/src/runtime/asm_loong64.s b/src/runtime/asm_loong64.s
index 068e8e0..a6ccd19 100644
--- a/src/runtime/asm_loong64.s
+++ b/src/runtime/asm_loong64.s
@@ -90,21 +90,6 @@
  *  go-routine
  */
 
-// void gosave(Gobuf*)
-// save state in Gobuf; setjmp
-TEXT runtime·gosave(SB), NOSPLIT|NOFRAME, $0-8
-	MOVV	buf+0(FP), R19
-	MOVV	R3, gobuf_sp(R19)
-	MOVV	R1, gobuf_pc(R19)
-	MOVV	g, gobuf_g(R19)
-	MOVV	R0, gobuf_lr(R19)
-	MOVV	R0, gobuf_ret(R19)
-	// Assert ctxt is zero. See func save.
-	MOVV	gobuf_ctxt(R19), R19
-	BEQ	R19, 2(PC)
-	JAL	runtime·badctxt(SB)
-	RET
-
 // void gogo(Gobuf*)
 // restore state from Gobuf; longjmp
 TEXT runtime·gogo(SB), NOSPLIT|NOFRAME, $0-8