1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Don't do destroy_dev on devices which were just aliases.

This commit is contained in:
Matt Jacob 2000-10-05 16:58:43 +00:00
parent 0272ef9b3e
commit 3bfa7a769d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66677

View File

@ -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);