Skip to content

Commit 9705845

Browse files
committed
Remove max function shadowing Go 1.21+ max builtin
1 parent 3a47e5a commit 9705845

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

sysconf_linux.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,13 +144,6 @@ func hasClock(clockid int32) bool {
144144
return true
145145
}
146146

147-
func max(a, b int64) int64 {
148-
if a > b {
149-
return a
150-
}
151-
return b
152-
}
153-
154147
func sysconf(name int) (int64, error) {
155148
switch name {
156149
case SC_AIO_LISTIO_MAX:

0 commit comments

Comments
 (0)