diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2008-09-25 17:54:02 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2008-09-25 17:54:02 +0000 |
commit | b404f8abeefd3b735efd334203a71144934ef926 (patch) | |
tree | 5d3ef9495bc8e687810dacc0c440fba1086eab3e /sys/dev/pci | |
parent | 92492396605a22dd50879021b08264375088ac63 (diff) |
remove dead store.
Found by LLVM/Clang Static Analyzer.
ok claudio@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r-- | sys/dev/pci/pccbb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/pccbb.c b/sys/dev/pci/pccbb.c index e30f8443613..c1aad74d16d 100644 --- a/sys/dev/pci/pccbb.c +++ b/sys/dev/pci/pccbb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pccbb.c,v 1.61 2008/07/20 18:58:07 kettenis Exp $ */ +/* $OpenBSD: pccbb.c,v 1.62 2008/09/25 17:54:01 chl Exp $ */ /* $NetBSD: pccbb.c,v 1.96 2004/03/28 09:49:31 nakayama Exp $ */ /* @@ -1864,7 +1864,6 @@ pccbb_pcmcia_io_alloc(pch, start, size, align, pcihp) bus_size_t size_tmp = size; int shifts = 0; - mask = 1; while (size_tmp) { ++shifts; size_tmp >>= 1; |