summaryrefslogtreecommitdiff
path: root/src/base/statistics.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-05-02 15:33:32 -0700
committerGabe Black <gabeblack@google.com>2019-05-18 10:20:20 +0000
commit972c38b1cc5f6f6c649a0e9923695447bc5d6255 (patch)
treeba3ca960ad12e37c38d8d17ff53b267fd5511688 /src/base/statistics.hh
parente2656006df442a995bf80ee03fa9700d6ec14537 (diff)
downloadgem5-972c38b1cc5f6f6c649a0e9923695447bc5d6255.tar.xz
arch, base, cpu, dev, mem, sim: Remove #if 0-ed out code.
This code will be preserved through version control, but otherwise creates clutter and will rot in place since it's never compiled. Change-Id: Id265f6deac445116843956ea5cf1210d8127274e Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18608 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Brandon Potter <Brandon.Potter@amd.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src/base/statistics.hh')
-rw-r--r--src/base/statistics.hh6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/base/statistics.hh b/src/base/statistics.hh
index 8a5420f05..69a2afffc 100644
--- a/src/base/statistics.hh
+++ b/src/base/statistics.hh
@@ -1294,12 +1294,6 @@ class Vector2dBase : public DataWrapVec2d<Derived, Vector2dInfoProxy>
zero() const
{
return data(0)->zero();
-#if 0
- for (off_type i = 0; i < size(); ++i)
- if (!data(i)->zero())
- return false;
- return true;
-#endif
}
/**