kvm: Remove the unused hostFreq member from BaseKvmCPU
authorAndreas Sandberg <andreas@sandberg.pp.se>
Tue, 26 Nov 2013 16:40:58 +0000 (17:40 +0100)
committerAndreas Sandberg <andreas@sandberg.pp.se>
Tue, 26 Nov 2013 16:40:58 +0000 (17:40 +0100)
src/cpu/kvm/base.cc
src/cpu/kvm/base.hh

index 589964a328aae4cbbe469411a8dfbd929fc47e7c..a8e115da7c0ba3fafa0b3202656e4ea5080a06ee 100644 (file)
@@ -79,7 +79,6 @@ BaseKvmCPU::BaseKvmCPU(BaseKvmCPUParams *params)
       tickEvent(*this),
       activeInstPeriod(0),
       perfControlledByTimer(params->usePerfOverflow),
-      hostFreq(params->hostFreq),
       hostFactor(params->hostFactor),
       drainManager(NULL),
       ctrInsts(0)
index 103808365246c6a3f39e8b97081b12b5130b159c..8788d6c8ad022ef11fd2b05cdf489fc47588a565 100644 (file)
@@ -719,9 +719,6 @@ class BaseKvmCPU : public BaseCPU
      */
     std::unique_ptr<BaseKvmTimer> runTimer;
 
-    /** Host frequency */
-    Tick hostFreq;
-
     /** Host factor as specified in the configuration */
     float hostFactor;