mirror of
https://github.com/golang/sys.git
synced 2026-02-08 03:36:03 +03:00
unix: remove empty lines before first comment in block
Re-run tip gofmt to remove empty lines before the first comment in a block (CL 71990). Change-Id: I10bed93b88fd4fa4345f9f8f930c45db9f0d6e59 Reviewed-on: https://go-review.googlesource.com/76191 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
a22539bf85
commit
75813c6472
@@ -55,7 +55,6 @@ func sysctlNodes(mib []_C_int) (nodes []Sysctlnode, err error) {
|
||||
}
|
||||
|
||||
func nametomib(name string) (mib []_C_int, err error) {
|
||||
|
||||
// Split name into components.
|
||||
var parts []string
|
||||
last := 0
|
||||
|
||||
@@ -32,7 +32,6 @@ type SockaddrDatalink struct {
|
||||
func Syscall9(trap, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err syscall.Errno)
|
||||
|
||||
func nametomib(name string) (mib []_C_int, err error) {
|
||||
|
||||
// Perform lookup via a binary search
|
||||
left := 0
|
||||
right := len(sysctlMib) - 1
|
||||
|
||||
Reference in New Issue
Block a user