diff options
Diffstat (limited to 'sys/cam/scsi/scsi_da.c')
| -rw-r--r-- | sys/cam/scsi/scsi_da.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index 91c26614367a..70385c78d43f 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -1568,8 +1568,7 @@ dashutdown(void * arg, int howto) struct cam_periph *periph; struct da_softc *softc; - for (periph = TAILQ_FIRST(&dadriver.units); periph != NULL; - periph = TAILQ_NEXT(periph, unit_links)) { + TAILQ_FOREACH(periph, &dadriver.units, unit_links) { union ccb ccb; softc = (struct da_softc *)periph->softc; |
