Remove some dead code from trapwrite.

Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
This commit is contained in:
dyson 1997-01-23 01:30:59 +00:00
parent 6c3317211a
commit 5fb1aad996
3 changed files with 3 additions and 9 deletions

View File

@ -781,7 +781,7 @@ int trapwrite(addr)
unsigned addr;
{
struct proc *p;
vm_offset_t va, v;
vm_offset_t va;
struct vmspace *vm;
int rv;
@ -805,8 +805,6 @@ int trapwrite(addr)
}
}
v = trunc_page(vtopte(va));
/*
* fault the data page
*/

View File

@ -781,7 +781,7 @@ int trapwrite(addr)
unsigned addr;
{
struct proc *p;
vm_offset_t va, v;
vm_offset_t va;
struct vmspace *vm;
int rv;
@ -805,8 +805,6 @@ int trapwrite(addr)
}
}
v = trunc_page(vtopte(va));
/*
* fault the data page
*/

View File

@ -781,7 +781,7 @@ int trapwrite(addr)
unsigned addr;
{
struct proc *p;
vm_offset_t va, v;
vm_offset_t va;
struct vmspace *vm;
int rv;
@ -805,8 +805,6 @@ int trapwrite(addr)
}
}
v = trunc_page(vtopte(va));
/*
* fault the data page
*/