diff options
author | 2010-06-28 18:31:01 +0000 | |
---|---|---|
committer | 2010-06-28 18:31:01 +0000 | |
commit | 8952d2e01a836be8c6602edcd10a105fd837aee4 (patch) | |
tree | 7f8c56b5fcd6e61d834328df10e42768fb7badee /sys/dev/ic/aic79xx_openbsd.c | |
parent | Update the Safe module to version 2.2.7 for CVE-2010-1168 and (diff) | |
download | wireguard-openbsd-8952d2e01a836be8c6602edcd10a105fd837aee4.tar.xz wireguard-openbsd-8952d2e01a836be8c6602edcd10a105fd837aee4.zip |
Remove all adapter-specific 'struct scsi_device's. They are never used. First
step in elminating 'struct scsi_device' entirely.
Spotted and initial diff from matthew@.
ok matthew@ dlg@ deraadt@ marco@ miod@
Diffstat (limited to 'sys/dev/ic/aic79xx_openbsd.c')
-rw-r--r-- | sys/dev/ic/aic79xx_openbsd.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sys/dev/ic/aic79xx_openbsd.c b/sys/dev/ic/aic79xx_openbsd.c index 5ed0e0f8a26..bba6da338e3 100644 --- a/sys/dev/ic/aic79xx_openbsd.c +++ b/sys/dev/ic/aic79xx_openbsd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic79xx_openbsd.c,v 1.36 2010/03/23 01:57:19 krw Exp $ */ +/* $OpenBSD: aic79xx_openbsd.c,v 1.37 2010/06/28 18:31:02 krw Exp $ */ /* * Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom @@ -95,15 +95,6 @@ static struct scsi_adapter ahd_switch = 0, }; -/* the below structure is so we have a default dev struct for our link struct */ -static struct scsi_device ahd_dev = -{ - NULL, /* Use default error handler */ - NULL, /* have a queue, served by this */ - NULL, /* have no async handler */ - NULL, /* Use default 'done' routine */ -}; - /* * Attach all the sub-devices we can find */ @@ -127,7 +118,6 @@ ahd_attach(struct ahd_softc *ahd) ahd->sc_channel.adapter_softc = ahd; ahd->sc_channel.adapter = &ahd_switch; ahd->sc_channel.openings = 16; - ahd->sc_channel.device = &ahd_dev; if (bootverbose) { ahd_controller_info(ahd, ahd_info, sizeof ahd_info); |