From: Ilya Tocar Date: Thu, 1 Mar 2018 18:30:19 +0000 (-0600) Subject: math: remove unused variable X-Git-Tag: go1.11beta1~1390 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c15984c6c67205a19382ba350680dcfb0090325a;p=gostls13.git math: remove unused variable useSSE41 was used inside asm implementation of floor to select between base and ss4 code path. We intrinsified floor and left asm functions as a backup for non-sse4 systems. This made variable unused, so remove it. Change-Id: Ia2633de7c7cb1ef1d5b15a2366b523e481b722d9 Reviewed-on: https://go-review.googlesource.com/97935 Run-TryBot: Ilya Tocar Reviewed-by: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- diff --git a/src/math/floor_asm.go b/src/math/floor_asm.go deleted file mode 100644 index fdec112cef..0000000000 --- a/src/math/floor_asm.go +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2015 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// +build amd64 amd64p32 - -package math - -import "internal/cpu" - -var useSSE41 = cpu.X86.HasSSE41