From 15744c92de5e6a2295bfbae2126b19c124bbb46a Mon Sep 17 00:00:00 2001 From: Austin Clements Date: Thu, 28 Apr 2016 10:53:25 -0400 Subject: [dev.garbage] runtime: remove unused head/end arguments from freeSpan These used to be used for the list of newly freed objects, but that's no longer a thing. Change-Id: I5a4503137b74ec0eae5372ca271b1aa0b32df074 Reviewed-on: https://go-review.googlesource.com/22557 Reviewed-by: Rick Hudson Run-TryBot: Austin Clements TryBot-Result: Gobot Gobot --- src/runtime/mcentral.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/mcentral.go') diff --git a/src/runtime/mcentral.go b/src/runtime/mcentral.go index bbbfb18fbf..5baaef99f8 100644 --- a/src/runtime/mcentral.go +++ b/src/runtime/mcentral.go @@ -160,7 +160,7 @@ func (c *mcentral) uncacheSpan(s *mspan) { // freeSpan returns true if s was returned to the heap. // If preserve=true, it does not move s (the caller // must take care of it). -func (c *mcentral) freeSpan(s *mspan, start gclinkptr, end gclinkptr, preserve bool, wasempty bool) bool { +func (c *mcentral) freeSpan(s *mspan, preserve bool, wasempty bool) bool { if s.incache { throw("freeSpan given cached span") } -- cgit v1.3