From 43f60f989d2bd560bb8068fc07da67ba875f25f0 Mon Sep 17 00:00:00 2001 From: Charles Longeau Date: Tue, 29 Mar 2016 12:04:27 +0000 Subject: Remove dead assignments and now unused variables. Found by LLVM/Clang Static Analyzer. ok mpi@ stefan@ --- sys/uvm/uvm_fault.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'sys/uvm/uvm_fault.c') diff --git a/sys/uvm/uvm_fault.c b/sys/uvm/uvm_fault.c index 99d270ccdee..a6858c3e157 100644 --- a/sys/uvm/uvm_fault.c +++ b/sys/uvm/uvm_fault.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_fault.c,v 1.88 2016/03/07 18:44:00 naddy Exp $ */ +/* $OpenBSD: uvm_fault.c,v 1.89 2016/03/29 12:04:26 chl Exp $ */ /* $NetBSD: uvm_fault.c,v 1.51 2000/08/06 00:22:53 thorpej Exp $ */ /* @@ -1254,11 +1254,8 @@ int uvm_fault_wire(vm_map_t map, vaddr_t start, vaddr_t end, vm_prot_t access_type) { vaddr_t va; - pmap_t pmap; int rv; - pmap = vm_map_pmap(map); - /* * now fault it in a page at a time. if the fault fails then we have * to undo what we have done. note that in uvm_fault PROT_NONE -- cgit v1.2.3