Remove some dead code from trapwrite.
Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
This commit is contained in:
parent
6c3317211a
commit
5fb1aad996
@ -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
|
||||
*/
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user