syscall_emul: [patch 9/22] remove unused global variable (num_processes)

This commit is contained in:
Brandon Potter 2016-11-09 14:27:42 -06:00
parent 49009f170a
commit 6c41181b8e
3 changed files with 0 additions and 7 deletions

View file

@ -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

View file

@ -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

View file

@ -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)
{