aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/proc.go
diff options
context:
space:
mode:
authorDaniel Martí <mvdan@mvdan.cc>2017-03-07 16:10:59 +0000
committerAustin Clements <austin@google.com>2017-03-16 14:03:45 +0000
commit77b09b8b8dc9d27f0c583f4eb94a563e68fe0af6 (patch)
tree7e7904b7ca66daedc27ad2de265d8cd670b6b403 /src/runtime/proc.go
parentd60166d5eea5084e0957e9028237cc87ecadbf7d (diff)
downloadgo-77b09b8b8dc9d27f0c583f4eb94a563e68fe0af6.tar.xz
runtime: remove unused g parameter
Found by github.com/mvdan/unparam. Change-Id: I20145440ff1bcd27fcf15a740354c52f313e536c Reviewed-on: https://go-review.googlesource.com/37894 Run-TryBot: Austin Clements <austin@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'src/runtime/proc.go')
-rw-r--r--src/runtime/proc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/proc.go b/src/runtime/proc.go
index 45d98de151..159a9bd4bc 100644
--- a/src/runtime/proc.go
+++ b/src/runtime/proc.go
@@ -2252,7 +2252,7 @@ func park_m(gp *g) {
_g_ := getg()
if trace.enabled {
- traceGoPark(_g_.m.waittraceev, _g_.m.waittraceskip, gp)
+ traceGoPark(_g_.m.waittraceev, _g_.m.waittraceskip)
}
casgstatus(gp, _Grunning, _Gwaiting)