1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-20 15:43:16 +00:00

Remove some dead code from trapwrite.

Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
This commit is contained in:
John Dyson 1997-01-23 01:30:59 +00:00
parent b9ee2adda6
commit 7e64cb7a96
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21953
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
*/