From: Dave Cheney Date: Wed, 19 Apr 2017 23:19:21 +0000 (+1000) Subject: cmd/internal/obj: remove unused obj.Linksymfmt X-Git-Tag: go1.9beta1~602 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1db0aae37029339515678ef4682238c2707866ae;p=gostls13.git cmd/internal/obj: remove unused obj.Linksymfmt obj.Linksymfmt is no longer referenced by any packages in cmd/... Change-Id: Id4d9213d1577e13580b60755dbf7da313b17cb0e Reviewed-on: https://go-review.googlesource.com/41171 Run-TryBot: Dave Cheney Reviewed-by: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- diff --git a/src/cmd/internal/obj/sym.go b/src/cmd/internal/obj/sym.go index ec50aad7bf..2514160769 100644 --- a/src/cmd/internal/obj/sym.go +++ b/src/cmd/internal/obj/sym.go @@ -101,10 +101,3 @@ func (ctxt *Link) Int64Sym(i int64) *LSym { s.Set(AttrLocal, true) }) } - -func Linksymfmt(s *LSym) string { - if s == nil { - return "" - } - return s.Name -}