summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2000-10-05 16:58:43 +0000
committermjacob <mjacob@FreeBSD.org>2000-10-05 16:58:43 +0000
commit2ba990958f611d680851f8a31571d8cb4085951f (patch)
tree616dfdadf3e0949dbdf62190d1beb6e2d311c4fc /sys/cam
parent8f500e6616e65e10ba62ab2b3efe66e981296f45 (diff)
downloadFreeBSD-src-2ba990958f611d680851f8a31571d8cb4085951f.zip
FreeBSD-src-2ba990958f611d680851f8a31571d8cb4085951f.tar.gz
Don't do destroy_dev on devices which were just aliases.
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/scsi/scsi_sa.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/cam/scsi/scsi_sa.c b/sys/cam/scsi/scsi_sa.c
index 91a496c..c592882 100644
--- a/sys/cam/scsi/scsi_sa.c
+++ b/sys/cam/scsi/scsi_sa.c
@@ -183,9 +183,6 @@ struct sa_devs {
dev_t nr_dev;
dev_t er_dev;
} mode_devs[SA_NUM_MODES];
- dev_t r_dev;
- dev_t nr_dev;
- dev_t er_dev;
};
struct sa_softc {
@@ -1285,9 +1282,6 @@ sacleanup(struct cam_periph *periph)
devstat_remove_entry(&softc->device_stats);
destroy_dev(softc->devs.ctl_dev);
- destroy_dev(softc->devs.r_dev);
- destroy_dev(softc->devs.nr_dev);
- destroy_dev(softc->devs.er_dev);
for (i = 0; i < SA_NUM_MODES; i++) {
destroy_dev(softc->devs.mode_devs[i].r_dev);
OpenPOWER on IntegriCloud