mirror of
https://github.com/golang/go
synced 2024-11-22 05:34:39 -07:00
os: rm unused code
CL 588675 removes pidfdRelease, but misses this one. Change-Id: Id1d93d10baa5b26a42a2289e29624409c4e351f2 Reviewed-on: https://go-review.googlesource.com/c/go/+/601461 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Run-TryBot: Kirill Kolyshkin <kolyshkin@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
This commit is contained in:
parent
9e40780a46
commit
456785ceed
@ -20,8 +20,6 @@ func pidfdFind(_ int) (uintptr, error) {
|
||||
return 0, syscall.ENOSYS
|
||||
}
|
||||
|
||||
func (p *Process) pidfdRelease() {}
|
||||
|
||||
func (_ *Process) pidfdWait() (*ProcessState, error) {
|
||||
panic("unreachable")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user