diff options
author | Ayke van Laethem <[email protected]> | 2024-07-17 18:46:07 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2024-07-18 08:57:02 +0200 |
commit | 2920492e0a11fb64080ea65489ca800d346d3ae6 (patch) | |
tree | 236a439983485d3e659a3919a1c0efb603460d84 /src | |
parent | 87a8aafc4fc84ca0a2b5e68f9e0b425e4fac4878 (diff) | |
download | tinygo-2920492e0a11fb64080ea65489ca800d346d3ae6.tar.gz tinygo-2920492e0a11fb64080ea65489ca800d346d3ae6.zip |
syscall: remove some dead code
Not sure why it's here but it's not referenced anywhere.
Diffstat (limited to 'src')
-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") } |