From: Bobby R. Bruce Date: Wed, 27 May 2020 10:36:31 +0000 (-0700) Subject: gpu-compute,misc: Removed unused 'vaddr' capture X-Git-Tag: v20.0.0.0~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8fb7a0c1d42aa335643bc2cf1b80ac36ea715ec;p=gem5.git gpu-compute,misc: Removed unused 'vaddr' capture Clang compilers return a `error: lambda capture 'vaddr' is not used` error when compiling HSAIL_X86/gem5.opt. This unused lambda capture has therefore been removed. Change-Id: I2a7c58174a9ef83435099ab4daf84c762f017dd4 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29533 Tested-by: kokoro Reviewed-by: Jason Lowe-Power Reviewed-by: Anthony Gutierrez Maintainer: Jason Lowe-Power Maintainer: Anthony Gutierrez --- diff --git a/src/gpu-compute/gpu_tlb.cc b/src/gpu-compute/gpu_tlb.cc index 2ae40dadf..37a8b03a2 100644 --- a/src/gpu-compute/gpu_tlb.cc +++ b/src/gpu-compute/gpu_tlb.cc @@ -314,7 +314,7 @@ namespace X86ISA return std::make_shared(0); req->setLocalAccessor( - [read,regNum,vaddr](ThreadContext *tc, PacketPtr pkt) + [read,regNum](ThreadContext *tc, PacketPtr pkt) { return localMiscRegAccess(read, regNum, tc, pkt); }