Skip to content

Commit 2dfefb6

Browse files
cuishuanggopherbot
authored andcommitted
all: execute gofmt
Change-Id: I55aef760145df773be30d567c9e989f46a3e79dc Reviewed-on: https://go-review.googlesource.com/c/sys/+/618898 Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
1 parent e5eee7e commit 2dfefb6

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

cpu/cpu_linux_arm64.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ func doinit() {
110110
ARM64.HasASIMDFHM = isSet(hwCap, hwcap_ASIMDFHM)
111111
ARM64.HasDIT = isSet(hwCap, hwcap_DIT)
112112

113-
114113
// HWCAP2 feature bits
115114
ARM64.HasSVE2 = isSet(hwCap2, hwcap2_SVE2)
116115
ARM64.HasI8MM = isSet(hwCap2, hwcap2_I8MM)

unix/syscall_zos_s390x.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -816,10 +816,10 @@ func Lstat(path string, stat *Stat_t) (err error) {
816816
// for checking symlinks begins with $VERSION/ $SYSNAME/ $SYSSYMR/ $SYSSYMA/
817817
func isSpecialPath(path []byte) (v bool) {
818818
var special = [4][8]byte{
819-
[8]byte{'V', 'E', 'R', 'S', 'I', 'O', 'N', '/'},
820-
[8]byte{'S', 'Y', 'S', 'N', 'A', 'M', 'E', '/'},
821-
[8]byte{'S', 'Y', 'S', 'S', 'Y', 'M', 'R', '/'},
822-
[8]byte{'S', 'Y', 'S', 'S', 'Y', 'M', 'A', '/'}}
819+
{'V', 'E', 'R', 'S', 'I', 'O', 'N', '/'},
820+
{'S', 'Y', 'S', 'N', 'A', 'M', 'E', '/'},
821+
{'S', 'Y', 'S', 'S', 'Y', 'M', 'R', '/'},
822+
{'S', 'Y', 'S', 'S', 'Y', 'M', 'A', '/'}}
823823

824824
var i, j int
825825
for i = 0; i < len(special); i++ {

0 commit comments

Comments
 (0)