From c3b182d23580f63eb8e04e985a49a633fb9e3bfc Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 14 Aug 2006 19:53:53 +0000 Subject: [PATCH] Eliminate an unnecessary initialization from trap_pfault() that also happens to contain a style error. --- sys/amd64/amd64/trap.c | 2 +- sys/i386/i386/trap.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index daad68290439..9ece7510d266 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -535,7 +535,7 @@ trap_pfault(frame, usermode) { vm_offset_t va; struct vmspace *vm = NULL; - vm_map_t map = 0; + vm_map_t map; int rv = 0; vm_prot_t ftype; struct thread *td = curthread; diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c index fd93c2f427d6..236c84062e7c 100644 --- a/sys/i386/i386/trap.c +++ b/sys/i386/i386/trap.c @@ -696,7 +696,7 @@ trap_pfault(frame, usermode, eva) { vm_offset_t va; struct vmspace *vm = NULL; - vm_map_t map = 0; + vm_map_t map; int rv = 0; vm_prot_t ftype; struct thread *td = curthread;