diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-05-29 06:32:10 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-05-29 06:32:10 +0000 |
commit | 3fdf8aee06b7a9ee54bc1109927e2cb66235a243 (patch) | |
tree | 03051205038b064a07540cd2f2c9aae96b02d227 /sys | |
parent | 1f3282882b69ac263cec040d284972592fa870aa (diff) |
remove some if 0 code
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/mpi.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index eb2eebfbdf1..3e8b6fafd48 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.7 2006/05/29 05:43:55 dlg Exp $ */ +/* $OpenBSD: mpi.c,v 1.8 2006/05/29 06:32:09 dlg Exp $ */ /* * Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org> @@ -826,12 +826,6 @@ mpi_load_xs(struct mpi_ccb *ccb) return (0); } -#if 0 - error = bus_dmamap_load(sc->sc_dmat, dmap, - xs->data, xs->datalen, NULL, BUS_DMA_STREAMING | - (xs->flags & SCSI_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK | - (xs->flags & SCSI_DATA_IN) ? BUS_DMA_READ : BUS_DMA_WRITE); -#endif error = bus_dmamap_load(sc->sc_dmat, dmap, xs->data, xs->datalen, NULL, (xs->flags & SCSI_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK); |