Mesa (master): ac: remove unused variable from ac_build_ddxy

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jan 7 19:52:03 UTC 2019


Module: Mesa
Branch: master
Commit: 492ad9a40245c05fc2429b4ee8c0849caef0fb7d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=492ad9a40245c05fc2429b4ee8c0849caef0fb7d

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Mon Jan  7 14:51:13 2019 -0500

ac: remove unused variable from ac_build_ddxy

trivial

---

 src/amd/common/ac_llvm_build.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/common/ac_llvm_build.c b/src/amd/common/ac_llvm_build.c
index 55ead314d6..76047148a6 100644
--- a/src/amd/common/ac_llvm_build.c
+++ b/src/amd/common/ac_llvm_build.c
@@ -1404,7 +1404,7 @@ ac_build_ddxy(struct ac_llvm_context *ctx,
 	      LLVMValueRef val)
 {
 	unsigned tl_lanes[4], trbl_lanes[4];
-	LLVMValueRef tl, trbl, args[2];
+	LLVMValueRef tl, trbl;
 	LLVMValueRef result;
 
 	for (unsigned i = 0; i < 4; ++i) {




More information about the mesa-commit mailing list