From: Kir Kolyshkin Date: Fri, 26 Jul 2024 19:12:39 +0000 (-0700) Subject: os: rm unused code X-Git-Tag: go1.24rc1~1375 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=456785ceed9e209bf3cbdc6a46e752b766722550;p=gostls13.git 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 Run-TryBot: Kirill Kolyshkin TryBot-Result: Gopher Robot Reviewed-by: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Auto-Submit: Ian Lance Taylor --- diff --git a/src/os/pidfd_other.go b/src/os/pidfd_other.go index dda4bd0fec..5780432779 100644 --- a/src/os/pidfd_other.go +++ b/src/os/pidfd_other.go @@ -20,8 +20,6 @@ func pidfdFind(_ int) (uintptr, error) { return 0, syscall.ENOSYS } -func (p *Process) pidfdRelease() {} - func (_ *Process) pidfdWait() (*ProcessState, error) { panic("unreachable") }