Skip to content

Commit 713eb44

Browse files
authored
refactor: drop legacy // +build comment (#3464)
Signed-off-by: rifeplight <[email protected]>
1 parent 313c220 commit 713eb44

39 files changed

+0
-39
lines changed

accounts/keystore/watch.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

1717
//go:build (darwin && !ios && cgo) || freebsd || (linux && !arm64) || netbsd || solaris
18-
// +build darwin,!ios,cgo freebsd linux,!arm64 netbsd solaris
1918

2019
package keystore
2120

accounts/keystore/watch_fallback.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

1717
//go:build (darwin && !cgo) || ios || (linux && arm64) || windows || (!darwin && !freebsd && !linux && !netbsd && !solaris)
18-
// +build darwin,!cgo ios linux,arm64 windows !darwin,!freebsd,!linux,!netbsd,!solaris
1918

2019
// This is the fallback implementation of directory watching.
2120
// It is used on unsupported platforms.

cmd/utils/diskusage.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
1616

1717
//go:build !windows && !openbsd && !wasip1
18-
// +build !windows,!openbsd,!wasip1
1918

2019
package utils
2120

cmd/utils/diskusage_openbsd.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// along with go-ethereum. If not, see <http://www.gnu.org/licenses/>.
1616

1717
//go:build openbsd
18-
// +build openbsd
1918

2019
package utils
2120

common/fdlimit/fdlimit_bsd.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

1717
//go:build freebsd || dragonfly
18-
// +build freebsd dragonfly
1918

2019
package fdlimit
2120

common/fdlimit/fdlimit_unix.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

1717
//go:build linux || netbsd || openbsd || solaris
18-
// +build linux netbsd openbsd solaris
1918

2019
package fdlimit
2120

core/mkalloc.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
1616

1717
//go:build none
18-
// +build none
1918

2019
/*
2120
The mkalloc tool creates the genesis allocation constants in genesis_alloc.go

crypto/blake2b/blake2bAVX2_amd64.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build go1.7 && amd64 && !gccgo && !appengine
6-
// +build go1.7,amd64,!gccgo,!appengine
76

87
package blake2b
98

crypto/blake2b/blake2b_amd64.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build !go1.7 && amd64 && !gccgo && !appengine
6-
// +build !go1.7,amd64,!gccgo,!appengine
76

87
package blake2b
98

crypto/blake2b/blake2b_f_fuzz_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Only enable fuzzer on platforms with AVX enabled
22
//go:build go1.7 && amd64 && !gccgo && !appengine
3-
// +build go1.7,amd64,!gccgo,!appengine
43

54
package blake2b
65

0 commit comments

Comments
 (0)