diff options
Diffstat (limited to 'src/syscall/syscall.go')
-rw-r--r-- | src/syscall/syscall.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/syscall/syscall.go b/src/syscall/syscall.go index dd36800c9..f22289c5a 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") } |