summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
authorBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:42 -0600
committerBrandon Potter <brandon.potter@amd.com>2016-11-09 14:27:42 -0600
commit6c41181b8e39e776ea2f018bf383fed2782c3d4a (patch)
tree49200e2a407754ef2ae9ecc4b63de98348ae7c20 /src/sim
parent49009f170a631eea259dc031b3ce4593f8783d19 (diff)
downloadgem5-6c41181b8e39e776ea2f018bf383fed2782c3d4a.tar.xz
syscall_emul: [patch 9/22] remove unused global variable (num_processes)
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/process.cc3
1 files changed, 0 insertions, 3 deletions
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)
{