diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-07-11 13:34:07 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-07-11 13:34:07 +0000 |
commit | 621efc31a8ef963024bc2344bbe721d839125ed9 (patch) | |
tree | e17d4f82c756703eb31ed07549e24b77cb916671 /sys/dev/ata | |
parent | ceb3ad3aa14b2d3568507c69e73233bcb95139ca (diff) |
Expunge some Captain Obvious comments, tweak whitespace a bit, move a debug
statement. All to make upcoming diff(s) smaller and easier to read.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r-- | sys/dev/ata/atascsi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ata/atascsi.c b/sys/dev/ata/atascsi.c index 8e06ba829bb..02def6dac05 100644 --- a/sys/dev/ata/atascsi.c +++ b/sys/dev/ata/atascsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atascsi.c,v 1.137 2020/07/02 21:59:34 krw Exp $ */ +/* $OpenBSD: atascsi.c,v 1.138 2020/07/11 13:34:06 krw Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -182,7 +182,6 @@ atascsi_attach(struct device *self, struct atascsi_attach_args *aaa) as->as_host_ports = mallocarray(aaa->aaa_nports, sizeof(struct atascsi_host_port *), M_DEVBUF, M_WAITOK | M_ZERO); - /* fill in our scsi_link */ as->as_link.adapter = &as->as_switch; as->as_link.adapter_softc = as; as->as_link.adapter_buswidth = aaa->aaa_nports; @@ -192,7 +191,6 @@ atascsi_attach(struct device *self, struct atascsi_attach_args *aaa) saa.saa_sc_link = &as->as_link; - /* stash the scsibus so we can do hotplug on it */ as->as_scsibus = (struct scsibus_softc *)config_found(self, &saa, scsiprint); |