diff options
Diffstat (limited to 'src/syscall/syscall_solaris.go')
-rw-r--r-- | src/syscall/syscall_solaris.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/syscall/syscall_solaris.go b/src/syscall/syscall_solaris.go index 73ac12759c..425f5122de 100644 --- a/src/syscall/syscall_solaris.go +++ b/src/syscall/syscall_solaris.go @@ -29,15 +29,6 @@ type SockaddrDatalink struct { raw RawSockaddrDatalink } -func clen(n []byte) int { - for i := 0; i < len(n); i++ { - if n[i] == 0 { - return i - } - } - return len(n) -} - func direntIno(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino)) } |