summaryrefslogtreecommitdiff
path: root/src/sync
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2021-11-06 11:09:56 +0100
committerTobias Klauser <tobias.klauser@gmail.com>2021-11-06 10:24:44 +0000
commitf19e4001808863d2ebfe9d1975476513d030c381 (patch)
tree9b8c0593328c114b96a632737848d9fd30f0c2e3 /src/sync
parentb74f2efc47bbfcc4aa301ebda1033948d8b6b63e (diff)
downloadgo-git-f19e4001808863d2ebfe9d1975476513d030c381.tar.gz
all: remove more leftover // +build lines
CL 344955 and CL 359476 removed almost all // +build lines, but leaving some assembly files and generating scripts. Also, some files were added with // +build lines after CL 359476 was merged. Remove these or rename files where more appropriate. For #41184 Change-Id: I7eb85a498ed9788b42a636e775f261d755504ffa Reviewed-on: https://go-review.googlesource.com/c/go/+/361480 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Bryan C. Mills <bcmills@google.com>
Diffstat (limited to 'src/sync')
-rw-r--r--src/sync/atomic/asm.s1
-rw-r--r--src/sync/atomic/race.s1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/sync/atomic/asm.s b/src/sync/atomic/asm.s
index 7b8c9b9430..2022304665 100644
--- a/src/sync/atomic/asm.s
+++ b/src/sync/atomic/asm.s
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build !race
-// +build !race
#include "textflag.h"
diff --git a/src/sync/atomic/race.s b/src/sync/atomic/race.s
index 0866487cc7..90bd69f321 100644
--- a/src/sync/atomic/race.s
+++ b/src/sync/atomic/race.s
@@ -3,7 +3,6 @@
// license that can be found in the LICENSE file.
//go:build race
-// +build race
// This file is here only to allow external functions.
// The operations are implemented in src/runtime/race_amd64.s