chore: clean prints

Signed-off-by: Nugraha <26342994+ii64@users.noreply.github.com>
This commit is contained in:
Nugraha 2022-02-10 01:48:41 +07:00
parent 76ea6c66e8
commit 0d089ce00d
Signed by untrusted user who does not match committer: Xeffy
GPG key ID: E41C08AD390E7C49

View file

@ -1,7 +1,6 @@
package gouring
import (
"fmt"
"reflect"
"syscall"
"unsafe"
@ -94,8 +93,6 @@ func setup(r *Ring, entries uint, parmas *IOUringParams) (ringFd int, err error)
Cap: int(p.SQEntries),
}))
fmt.Printf("insp %+#v %+#v\n", len(sq.Event), cap(sq.Event))
// CQ
cq.Head = (*uint32)(unsafe.Pointer(cqRingPtr + uintptr(p.CQOff.Head)))
@ -110,8 +107,6 @@ func setup(r *Ring, entries uint, parmas *IOUringParams) (ringFd int, err error)
Cap: int(p.CQEntries),
}))
fmt.Printf("insp %+#v %+#v\n", len(cq.Event), cap(cq.Event))
return
}