arch: Remove the "inline" keyword in ThreadInfo.
authorGabe Black <gabeblack@google.com>
Wed, 19 Aug 2020 09:05:59 +0000 (02:05 -0700)
committerGabe Black <gabeblack@google.com>
Thu, 20 Aug 2020 04:54:13 +0000 (04:54 +0000)
Methods which are defined inline are already implicitly inline, making
that keyword redundant. It's also inconsistently used.

Change-Id: If6ec3e94d126ae52d9c2f0d3e8ca27f1ac600650
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32920
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/generic/linux/threadinfo.hh

index 73c8173e6c9a3ccbb0dddf75d7b7b6298d5682e4..7bbf2dfdbaa89bfca38345a810fdf000db67bcd2 100644 (file)
@@ -71,7 +71,7 @@ class ThreadInfo
     ~ThreadInfo()
     {}
 
-    inline Addr
+    Addr
     curThreadInfo()
     {
         if (!TheISA::CurThreadInfoImplemented)
@@ -89,7 +89,7 @@ class ThreadInfo
         return sp & ~ULL(0x3fff);
     }
 
-    inline Addr
+    Addr
     curTaskInfo(Addr thread_info = 0)
     {
         // Note that in Linux 4.10 the thread_info struct will no longer have a