aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mcentral.go
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2016-04-28 10:53:25 -0400
committerAustin Clements <austin@google.com>2016-04-29 03:53:08 +0000
commit15744c92de5e6a2295bfbae2126b19c124bbb46a (patch)
tree5867ce2feebe10a67f0f4ae0da7d24015fb90ef5 /src/runtime/mcentral.go
parent2fb75ea6c65d03c3fda89c8e954712a2fa97b052 (diff)
downloadgo-15744c92de5e6a2295bfbae2126b19c124bbb46a.tar.xz
[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 <rlh@golang.org> Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/mcentral.go')
-rw-r--r--src/runtime/mcentral.go2
1 files changed, 1 insertions, 1 deletions
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")
}