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/ic/mpi.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/ic/mpi.c')
| -rw-r--r-- | sys/dev/ic/mpi.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c index a8000dd484e..621ab62a421 100644 --- a/sys/dev/ic/mpi.c +++ b/sys/dev/ic/mpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mpi.c,v 1.208 2019/12/31 10:05:32 mpi Exp $ */ +/* $OpenBSD: mpi.c,v 1.209 2020/01/23 07:53:00 krw Exp $ */ /* * Copyright (c) 2005, 2006, 2009 David Gwynne <dlg@openbsd.org> @@ -70,11 +70,7 @@ int mpi_scsi_ioctl(struct scsi_link *, u_long, caddr_t, int); struct scsi_adapter mpi_switch = { - mpi_scsi_cmd, - mpi_minphys, - mpi_scsi_probe, - NULL, - mpi_scsi_ioctl + mpi_scsi_cmd, mpi_minphys, mpi_scsi_probe, NULL, mpi_scsi_ioctl }; struct mpi_dmamem *mpi_dmamem_alloc(struct mpi_softc *, size_t); |
