diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2008-09-16 18:52:53 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2008-09-16 18:52:53 +0000 |
commit | fb6ae06dc5a8218bd9fb19798e4adcce4e2d8b28 (patch) | |
tree | 78315496029ecb53e621e33d34c2ad9cfb04b97b /sys/uvm/uvm_fault.c | |
parent | c1b27ada96eb1302871896c121672f3f16d442c0 (diff) |
remove dead stores and newly created unused variables.
Found by LLVM/Clang Static Analyzer.
ok miod@ art@
Diffstat (limited to 'sys/uvm/uvm_fault.c')
-rw-r--r-- | sys/uvm/uvm_fault.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/uvm/uvm_fault.c b/sys/uvm/uvm_fault.c index aacf177a865..981f21d7521 100644 --- a/sys/uvm/uvm_fault.c +++ b/sys/uvm/uvm_fault.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_fault.c,v 1.49 2007/06/18 21:51:15 pedro Exp $ */ +/* $OpenBSD: uvm_fault.c,v 1.50 2008/09/16 18:52:52 chl Exp $ */ /* $NetBSD: uvm_fault.c,v 1.51 2000/08/06 00:22:53 thorpej Exp $ */ /* @@ -772,7 +772,7 @@ ReFault: anons += nback; startva += (nback << PAGE_SHIFT); npages -= nback; - nback = centeridx = 0; + centeridx = 0; } /* locked: maps(read), amap(if there) */ |