diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2017-08-10 15:01:43 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2017-08-10 15:01:43 +0000 |
commit | cd9a394792a3e4ecba200811d802923d095a923c (patch) | |
tree | 49f13067c8a419261750d7070364377cebf8f333 /sys/dev/pci/mpii.c | |
parent | fe2bc9901f725c166207e87ee5d0c03c209bed2a (diff) |
Remove a leftover bit that was dereferencing an uninitialized pointer
Coverity CID 1453398; ok deraadt.
Diffstat (limited to 'sys/dev/pci/mpii.c')
-rw-r--r-- | sys/dev/pci/mpii.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c index 2738823da81..99b6eddf6ff 100644 --- a/sys/dev/pci/mpii.c +++ b/sys/dev/pci/mpii.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpii.c,v 1.111 2017/04/08 02:57:25 deraadt Exp $ */ +/* $OpenBSD: mpii.c,v 1.112 2017/08/10 15:01:42 mikeb Exp $ */ /* * Copyright (c) 2010, 2012 Mike Belopuhov * Copyright (c) 2009 James Giannoules @@ -838,7 +838,6 @@ mpii_load_xs(struct mpii_ccb *ccb) for (i = 0; i < dmap->dm_nsegs; i++, nsge++) { if (nsge == csge) { nsge++; - sge->sg_hdr |= htole32(MPII_SGE_FL_LAST); /* offset to the chain sge from the beginning */ io->chain_offset = ((caddr_t)csge - (caddr_t)io) / 4; /* length of the sgl segment we're pointing to */ |