]> Cypherpunks repositories - gostls13.git/commitdiff
os: rm unused code
authorKir Kolyshkin <kolyshkin@gmail.com>
Fri, 26 Jul 2024 19:12:39 +0000 (12:12 -0700)
committerGopher Robot <gobot@golang.org>
Sat, 27 Jul 2024 00:57:42 +0000 (00:57 +0000)
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>

src/os/pidfd_other.go

index dda4bd0feccae6921fb59ae5016f23ae5c6b2e57..57804327790199d36edde79a0481dbab1a08dc05 100644 (file)
@@ -20,8 +20,6 @@ func pidfdFind(_ int) (uintptr, error) {
        return 0, syscall.ENOSYS
 }
 
-func (p *Process) pidfdRelease() {}
-
 func (_ *Process) pidfdWait() (*ProcessState, error) {
        panic("unreachable")
 }