syscall_emul: [patch 9/22] remove unused global variable (num_processes)
This commit is contained in:
parent
49009f170a
commit
6c41181b8e
3 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue