diff options
author | 2020-01-23 07:52:59 +0000 | |
---|---|---|
committer | 2020-01-23 07:52:59 +0000 | |
commit | a867c811d3320339396ef5d060738a2c7abe66c0 (patch) | |
tree | 66514452e93dd3ddf8928ae828ce146000be4458 /sys/dev/pci/qle.c | |
parent | unused (diff) | |
download | wireguard-openbsd-a867c811d3320339396ef5d060738a2c7abe66c0.tar.xz wireguard-openbsd-a867c811d3320339396ef5d060738a2c7abe66c0.zip |
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/pci/qle.c')
-rw-r--r-- | sys/dev/pci/qle.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/pci/qle.c b/sys/dev/pci/qle.c index 513e2d198bf..8e2ca42add0 100644 --- a/sys/dev/pci/qle.c +++ b/sys/dev/pci/qle.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qle.c,v 1.49 2020/01/15 00:17:21 cheloha Exp $ */ +/* $OpenBSD: qle.c,v 1.50 2020/01/23 07:53:00 krw Exp $ */ /* * Copyright (c) 2013, 2014 Jonathan Matthew <jmatthew@openbsd.org> @@ -255,11 +255,7 @@ int qle_scsi_probe(struct scsi_link *); struct scsi_adapter qle_switch = { - qle_scsi_cmd, - scsi_minphys, - qle_scsi_probe, - NULL, /* scsi_free */ - NULL /* ioctl */ + qle_scsi_cmd, scsi_minphys, qle_scsi_probe, NULL, NULL }; u_int32_t qle_read(struct qle_softc *, int); |