projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a118c01
)
Timing CPU: Remove a redundant port pointer
author
Andreas Hansson
<andreas.hansson@arm.com>
Fri, 8 Jun 2012 16:45:24 +0000
(12:45 -0400)
committer
Andreas Hansson
<andreas.hansson@arm.com>
Fri, 8 Jun 2012 16:45:24 +0000
(12:45 -0400)
This patch is trivial and merely prunes a pointer that was never set
or used.
src/cpu/simple/timing.hh
patch
|
blob
|
history
diff --git
a/src/cpu/simple/timing.hh
b/src/cpu/simple/timing.hh
index 16bb554e2b60560fd3fb3a3a45cbe8cb02c662ff..77057ad02d2f50ba48299581d9e3f10378bc29ca 100644
(file)
--- a/
src/cpu/simple/timing.hh
+++ b/
src/cpu/simple/timing.hh
@@
-164,7
+164,6
@@
class TimingSimpleCPU : public BaseSimpleCPU
{
PacketPtr pkt;
TimingSimpleCPU *cpu;
- CpuPort *port;
TickEvent(TimingSimpleCPU *_cpu) : pkt(NULL), cpu(_cpu) {}
const char *description() const { return "Timing CPU tick"; }