From 1db0aae37029339515678ef4682238c2707866ae Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Thu, 20 Apr 2017 09:19:21 +1000 Subject: [PATCH] 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 --- src/cmd/internal/obj/sym.go | 7 ------- 1 file changed, 7 deletions(-) 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 -}