summaryrefslogtreecommitdiff
path: root/sys/dev/vscsi.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2020-01-23 07:53:01 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2020-01-23 07:53:01 +0000
commit70f8783114482fec3ceeb827631068cfa295f35c (patch)
tree029f45999785eb27fe81cceb58d0bcfc5f3b6c4c /sys/dev/vscsi.c
parent23dd46d505121de510c955356150dedba821294b (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/vscsi.c')
-rw-r--r--sys/dev/vscsi.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/vscsi.c b/sys/dev/vscsi.c
index c5213de556c..048b50c3eac 100644
--- a/sys/dev/vscsi.c
+++ b/sys/dev/vscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vscsi.c,v 1.45 2019/12/31 22:57:07 jsg Exp $ */
+/* $OpenBSD: vscsi.c,v 1.46 2020/01/23 07:52:59 krw Exp $ */
/*
* Copyright (c) 2008 David Gwynne <dlg@openbsd.org>
@@ -96,10 +96,7 @@ int vscsi_probe(struct scsi_link *);
void vscsi_free(struct scsi_link *);
struct scsi_adapter vscsi_switch = {
- vscsi_cmd,
- scsi_minphys,
- vscsi_probe,
- vscsi_free
+ vscsi_cmd, scsi_minphys, vscsi_probe, vscsi_free, NULL
};
int vscsi_i2t(struct vscsi_softc *, struct vscsi_ioc_i2t *);