summaryrefslogtreecommitdiff
path: root/src/mem/abstract_mem.hh
diff options
context:
space:
mode:
authorTommaso Marinelli <tommarin@ucm.es>2019-10-03 10:54:37 +0200
committerTommaso Marinelli <tommarin@ucm.es>2019-10-03 22:51:56 +0000
commit14919c5e5d984690de2e65ac2aa82d7c129b573e (patch)
treee16a1a8a5cb11c4d6231d5cec7ebed4ed08cdd66 /src/mem/abstract_mem.hh
parent5e1e76efa311f1888eada7df8cae538db51edff0 (diff)
downloadgem5-14919c5e5d984690de2e65ac2aa82d7c129b573e.tar.xz
mem: Remove unused variable
The variable *sys in dram_ctrl.cc was only used in an assert() check, therefore it has been removed to allow building gem5.fast without errors. A typo in a comment in abstract_mem.hh has also been corrected. Change-Id: I2663545449ecfdb5a27c3574b79dd42beb4a49c8 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21380 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com> Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
Diffstat (limited to 'src/mem/abstract_mem.hh')
-rw-r--r--src/mem/abstract_mem.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/abstract_mem.hh b/src/mem/abstract_mem.hh
index 655fc0115..d92e7070c 100644
--- a/src/mem/abstract_mem.hh
+++ b/src/mem/abstract_mem.hh
@@ -161,7 +161,7 @@ class AbstractMemory : public ClockedObject
}
}
- /** Pointor to the System object.
+ /** Pointer to the System object.
* This is used for getting the number of masters in the system which is
* needed when registering stats
*/