From 70f8783114482fec3ceeb827631068cfa295f35c Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Thu, 23 Jan 2020 07:53:01 +0000 Subject: 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@ --- sys/arch/luna88k/dev/spc.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'sys/arch/luna88k/dev') diff --git a/sys/arch/luna88k/dev/spc.c b/sys/arch/luna88k/dev/spc.c index 93c9f0bbb2c..679d388c4b3 100644 --- a/sys/arch/luna88k/dev/spc.c +++ b/sys/arch/luna88k/dev/spc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: spc.c,v 1.9 2017/03/16 18:13:44 miod Exp $ */ +/* $OpenBSD: spc.c,v 1.10 2020/01/23 07:52:59 krw Exp $ */ /* $NetBSD: spc.c,v 1.4 2003/07/05 19:00:17 tsutsui Exp $ */ /*- @@ -60,10 +60,7 @@ struct cfdriver spc_cd = { }; struct scsi_adapter spc_switch = { - spc_scsi_cmd, - scsi_minphys, /* no max at this level; handled by DMA code */ - NULL, - NULL, + spc_scsi_cmd, scsi_minphys, NULL, NULL, NULL }; /* bus space tag for spc */ -- cgit v1.2.3