From: Tobias Klauser Date: Wed, 2 May 2018 10:15:54 +0000 (+0200) Subject: os: remove superfluous comments X-Git-Tag: go1.11beta1~571 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=fc9c69a693fb3defcb95a16549bddcf3cac1421e;p=gostls13.git 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 TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- 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) {