From: Nikos Nikoleris Date: Mon, 31 Aug 2020 05:22:16 +0000 (+0300) Subject: arch: Remove unused variable pcbb from ThreadInfo X-Git-Tag: v20.1.0.0~174 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73fcbe4d6d9a3866efc7c0fa37e09068cff7e0ba;p=gem5.git 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 --- 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()) {