aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/sys_linux_amd64.s
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2020-05-08 17:12:45 -0400
committerCherry Zhang <cherryyz@google.com>2020-08-18 21:18:14 +0000
commit84a62453e5c01df3f7d0c48d9aca32832c2052c1 (patch)
tree9b816789eefd9226678ce28cbbed0c4b627a600c /src/runtime/sys_linux_amd64.s
parente7c7ce646f37b260fe5a5635bc52243d28125dd8 (diff)
downloadgo-84a62453e5c01df3f7d0c48d9aca32832c2052c1.tar.xz
cmd/compile: remove unnecessary error condition on reading fingerprint
io.ReadFull guarantees n == len(buf) if and only if err == nil, so the length check is redundant. Change-Id: I15bff97868e27a65648acd791883cac8dab77630 Reviewed-on: https://go-review.googlesource.com/c/go/+/232988 Run-TryBot: Cherry Zhang <cherryyz@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'src/runtime/sys_linux_amd64.s')
0 files changed, 0 insertions, 0 deletions