aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2018-05-02 12:15:54 +0200
committerBrad Fitzpatrick <bradfitz@golang.org>2018-05-02 14:41:57 +0000
commitfc9c69a693fb3defcb95a16549bddcf3cac1421e (patch)
tree10321433e5b35366acfd7836523ac05a1118a0b1 /src
parent7e960d06d202d6bfc63fbd6b2528feb4f2b77b4e (diff)
downloadgo-fc9c69a693fb3defcb95a16549bddcf3cac1421e.tar.xz
os: remove superfluous comments
It's apparent from the file names or build tags to which OS the code in question applies. Change-Id: I628ee2bf1d29a6bc30ca5fa6f9eecf809e78a182 Reviewed-on: https://go-review.googlesource.com/110815 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/os/sys_bsd.go3
-rw-r--r--src/os/sys_linux.go2
-rw-r--r--src/os/sys_plan9.go2
3 files changed, 0 insertions, 7 deletions
diff --git a/src/os/sys_bsd.go b/src/os/sys_bsd.go
index 8ad5e21837..78705c286d 100644
--- a/src/os/sys_bsd.go
+++ b/src/os/sys_bsd.go
@@ -4,9 +4,6 @@
// +build darwin dragonfly freebsd nacl netbsd openbsd
-// os code shared between *BSD systems including OS X (Darwin)
-// and FreeBSD.
-
package os
import "syscall"
diff --git a/src/os/sys_linux.go b/src/os/sys_linux.go
index 467127653a..36a8a24455 100644
--- a/src/os/sys_linux.go
+++ b/src/os/sys_linux.go
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// Linux-specific
-
package os
import (
diff --git a/src/os/sys_plan9.go b/src/os/sys_plan9.go
index 07a7905f47..40374eb242 100644
--- a/src/os/sys_plan9.go
+++ b/src/os/sys_plan9.go
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// Plan 9-specific
-
package os
func hostname() (name string, err error) {