From 9bc67bb4f4caba59443c504e09758812ac63a046 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Tue, 28 Feb 2017 11:34:56 -0800 Subject: [PATCH] cmd/internal/obj: remove unused Getcallerpc function Change-Id: I0c7b677657326f318e906e109cbda0cfa78c4973 Reviewed-on: https://go-review.googlesource.com/37537 Run-TryBot: Matthew Dempsky TryBot-Result: Gobot Gobot Reviewed-by: Michael Hudson-Doyle --- src/cmd/internal/obj/util.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/cmd/internal/obj/util.go b/src/cmd/internal/obj/util.go index 5880577655..f1cfc96a6f 100644 --- a/src/cmd/internal/obj/util.go +++ b/src/cmd/internal/obj/util.go @@ -181,10 +181,6 @@ func (ctxt *Link) freeProgs() { ctxt.allocIdx = 0 } -func Getcallerpc(interface{}) uintptr { - return 1 -} - func (ctxt *Link) Dconv(a *Addr) string { return Dconv(nil, a) } -- 2.50.0