diff --git a/src/syscall/syscall.go b/src/syscall/syscall.go index dd36800c9a..f22289c5ad 100644 --- a/src/syscall/syscall.go +++ b/src/syscall/syscall.go @@ -2,7 +2,6 @@ package syscall import ( "errors" - "sync/atomic" ) const ( @@ -18,11 +17,6 @@ type Rlimit struct { Max uint64 } -// origRlimitNofile, if not {0, 0}, is the original soft RLIMIT_NOFILE. -// When we can assume that we are bootstrapping with Go 1.19, -// this can be atomic.Pointer[Rlimit]. -var origRlimitNofile atomic.Value // of Rlimit - func Setrlimit(resource int, rlim *Rlimit) error { return errors.New("Setrlimit not implemented") }