From: Matthew Dempsky Date: Tue, 28 Feb 2017 19:34:56 +0000 (-0800) Subject: cmd/internal/obj: remove unused Getcallerpc function X-Git-Tag: go1.9beta1~1393 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=9bc67bb4f4caba59443c504e09758812ac63a046;p=gostls13.git 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 --- 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) }