From 75813c647272dd855bda156405bf844a5414f5bf Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 7 Nov 2017 10:14:50 +0100 Subject: [PATCH] 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 TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- unix/syscall_netbsd.go | 1 - unix/syscall_openbsd.go | 1 - 2 files changed, 2 deletions(-) diff --git a/unix/syscall_netbsd.go b/unix/syscall_netbsd.go index eb44c659..91468095 100644 --- a/unix/syscall_netbsd.go +++ b/unix/syscall_netbsd.go @@ -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 diff --git a/unix/syscall_openbsd.go b/unix/syscall_openbsd.go index a90d8fbc..0bda73c3 100644 --- a/unix/syscall_openbsd.go +++ b/unix/syscall_openbsd.go @@ -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