summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/sparc/process.cc2
-rw-r--r--src/arch/x86/process.cc2
-rw-r--r--src/sim/process.cc3
3 files changed, 0 insertions, 7 deletions
diff --git a/src/arch/sparc/process.cc b/src/arch/sparc/process.cc
index 121f2f710..5c4f43b67 100644
--- a/src/arch/sparc/process.cc
+++ b/src/arch/sparc/process.cc
@@ -415,8 +415,6 @@ SparcProcess::argsInit(int pageSize)
// Align the "stack_min" to a page boundary.
stack_min = roundDown(stack_min, pageSize);
-
-// num_processes++;
}
void
diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc
index 245fbebf4..dfbd41e4e 100644
--- a/src/arch/x86/process.cc
+++ b/src/arch/x86/process.cc
@@ -1031,8 +1031,6 @@ X86Process::argsInit(int pageSize,
//Align the "stack_min" to a page boundary.
stack_min = roundDown(stack_min, pageSize);
-
-// num_processes++;
}
void
diff --git a/src/sim/process.cc b/src/sim/process.cc
index 50ebc9cec..9510fd71d 100644
--- a/src/sim/process.cc
+++ b/src/sim/process.cc
@@ -90,9 +90,6 @@
using namespace std;
using namespace TheISA;
-// current number of allocated processes
-int num_processes = 0;
-
static int
openFile(const string& filename, int flags, mode_t mode)
{