Skip to content

Commit 2920492

Browse files
aykevldeadprogram
authored andcommitted
syscall: remove some dead code
Not sure why it's here but it's not referenced anywhere.
1 parent 87a8aaf commit 2920492

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/syscall/syscall.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package syscall
22

33
import (
44
"errors"
5-
"sync/atomic"
65
)
76

87
const (
@@ -18,11 +17,6 @@ type Rlimit struct {
1817
Max uint64
1918
}
2019

21-
// origRlimitNofile, if not {0, 0}, is the original soft RLIMIT_NOFILE.
22-
// When we can assume that we are bootstrapping with Go 1.19,
23-
// this can be atomic.Pointer[Rlimit].
24-
var origRlimitNofile atomic.Value // of Rlimit
25-
2620
func Setrlimit(resource int, rlim *Rlimit) error {
2721
return errors.New("Setrlimit not implemented")
2822
}

0 commit comments

Comments
 (0)