summaryrefslogtreecommitdiff
path: root/sys/dev/pv
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/pv
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/pv')
-rw-r--r--sys/dev/pv/vioscsi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/pv/vioscsi.c b/sys/dev/pv/vioscsi.c
index f42b7d1be0a..b3e743ce183 100644
--- a/sys/dev/pv/vioscsi.c
+++ b/sys/dev/pv/vioscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vioscsi.c,v 1.13 2019/05/26 15:20:04 sf Exp $ */
+/* $OpenBSD: vioscsi.c,v 1.14 2020/01/23 07:53:00 krw Exp $ */
/*
* Copyright (c) 2013 Google Inc.
*
@@ -86,8 +86,7 @@ struct cfdriver vioscsi_cd = {
};
struct scsi_adapter vioscsi_switch = {
- vioscsi_scsi_cmd,
- scsi_minphys,
+ vioscsi_scsi_cmd, scsi_minphys, NULL, NULL, NULL
};
const char *const vioscsi_vq_names[] = {