diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-01-23 07:53:01 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-01-23 07:53:01 +0000 |
commit | 70f8783114482fec3ceeb827631068cfa295f35c (patch) | |
tree | 029f45999785eb27fe81cceb58d0bcfc5f3b6c4c /sys/dev/usb | |
parent | 23dd46d505121de510c955356150dedba821294b (diff) |
Use a consistant idiom/format when declaring scsi_adapter structures
in drivers. Terse one liners, NULLs instead of 0's, explicitly specify
all members, etc.
Nuke #ifdef notyet blocks related to the scsi_adapter in aic.
No intentional functional change.
ok tedu@
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/umass_scsi.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/usb/umass_scsi.c b/sys/dev/usb/umass_scsi.c index d2f76f077d9..7755981b13f 100644 --- a/sys/dev/usb/umass_scsi.c +++ b/sys/dev/usb/umass_scsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umass_scsi.c,v 1.46 2018/05/01 18:14:46 landry Exp $ */ +/* $OpenBSD: umass_scsi.c,v 1.47 2020/01/23 07:53:00 krw Exp $ */ /* $NetBSD: umass_scsipi.c,v 1.9 2003/02/16 23:14:08 augustss Exp $ */ /* * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -69,9 +69,7 @@ void umass_scsi_cmd(struct scsi_xfer *); void umass_scsi_minphys(struct buf *, struct scsi_link *); struct scsi_adapter umass_scsi_switch = { - umass_scsi_cmd, - umass_scsi_minphys, - umass_scsi_probe + umass_scsi_cmd, umass_scsi_minphys, umass_scsi_probe, NULL, NULL }; void umass_scsi_cb(struct umass_softc *sc, void *priv, int residue, |