summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ti.c
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2008-09-24 19:13:00 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2008-09-24 19:13:00 +0000
commit6ef1d9d300bca02697f8fb2da259c12090976d7d (patch)
tree1c7d9b21780ac19c3548caad1b42e686a4c4ad1e /sys/dev/pci/if_ti.c
parent74ae10b2c01de363b3ca9851f92fc13c96a83abc (diff)
remove dead stores and newly created unused variables.
Found by LLVM/Clang Static Analyzer. ok henning@ brad@
Diffstat (limited to 'sys/dev/pci/if_ti.c')
-rw-r--r--sys/dev/pci/if_ti.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_ti.c b/sys/dev/pci/if_ti.c
index c1abaa89262..d78a80f617a 100644
--- a/sys/dev/pci/if_ti.c
+++ b/sys/dev/pci/if_ti.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ti.c,v 1.86 2008/09/18 15:16:30 naddy Exp $ */
+/* $OpenBSD: if_ti.c,v 1.87 2008/09/24 19:12:59 chl Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -1851,7 +1851,6 @@ ti_rxeof(struct ti_softc *sc)
if ((cur_rx->ti_ip_cksum ^ 0xffff) == 0)
sumflags |= M_IPV4_CSUM_IN_OK;
m->m_pkthdr.csum_flags = sumflags;
- sumflags = 0;
ether_input_mbuf(ifp, m);
}