arch: Remove unused variable pcbb from ThreadInfo
authorNikos Nikoleris <nikos.nikoleris@arm.com>
Mon, 31 Aug 2020 05:22:16 +0000 (08:22 +0300)
committerNikos Nikoleris <nikos.nikoleris@arm.com>
Tue, 1 Sep 2020 06:25:28 +0000 (06:25 +0000)
Change-Id: Ib9e46934f1613c98758662cba26a46fcc2a76146
Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33776
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/generic/linux/threadinfo.hh

index 01271051cb076650c5f9f9b72d3b1ddcecd9670d..e5ba7e28bf6dbf36e9aadb72757e34597b2e20cd 100644 (file)
@@ -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())
     {