From 73fcbe4d6d9a3866efc7c0fa37e09068cff7e0ba Mon Sep 17 00:00:00 2001 From: Nikos Nikoleris Date: Mon, 31 Aug 2020 08:22:16 +0300 Subject: [PATCH] arch: Remove unused variable pcbb from ThreadInfo Change-Id: Ib9e46934f1613c98758662cba26a46fcc2a76146 Signed-off-by: Nikos Nikoleris Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33776 Reviewed-by: Gabe Black Reviewed-by: Jason Lowe-Power Maintainer: Gabe Black Tested-by: kokoro --- src/arch/generic/linux/threadinfo.hh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/arch/generic/linux/threadinfo.hh b/src/arch/generic/linux/threadinfo.hh index 01271051c..e5ba7e28b 100644 --- a/src/arch/generic/linux/threadinfo.hh +++ b/src/arch/generic/linux/threadinfo.hh @@ -39,7 +39,6 @@ class ThreadInfo private: ThreadContext *tc; System *sys; - Addr pcbb; ByteOrder byteOrder; @@ -62,8 +61,8 @@ class ThreadInfo } public: - ThreadInfo(ThreadContext *_tc, Addr _pcbb = 0) - : tc(_tc), sys(tc->getSystemPtr()), pcbb(_pcbb), + ThreadInfo(ThreadContext *_tc) + : tc(_tc), sys(tc->getSystemPtr()), byteOrder(tc->getSystemPtr()->getGuestByteOrder()) { -- 2.30.2