summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2003-03-29 14:51:50 +0000
committermdodd <mdodd@FreeBSD.org>2003-03-29 14:51:50 +0000
commita28b5968f3f9ecb655c239089a3c8a1ad7eeab59 (patch)
tree36847f3cb4f1fde4f3c8424771e0e1df30ff1ae8 /sys
parent984fbf4470d722a17a91747faedf81b239ce8f66 (diff)
downloadFreeBSD-src-a28b5968f3f9ecb655c239089a3c8a1ad7eeab59.zip
FreeBSD-src-a28b5968f3f9ecb655c239089a3c8a1ad7eeab59.tar.gz
Remove useless code.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/dpt/dpt_scsi.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/dpt/dpt_scsi.c b/sys/dev/dpt/dpt_scsi.c
index 81090e2..33420aa 100644
--- a/sys/dev/dpt/dpt_scsi.c
+++ b/sys/dev/dpt/dpt_scsi.c
@@ -82,9 +82,6 @@
int dpt_controllers_present;
devclass_t dpt_devclass;
-/* The linked list of softc structures */
-struct dpt_softc_list dpt_softcs = TAILQ_HEAD_INITIALIZER(dpt_softcs);
-
#define microtime_now dpt_time_now()
#define dpt_inl(dpt, port) \
@@ -1194,7 +1191,6 @@ dpt_alloc(device_t dev)
dpt->unit = device_get_unit(dev);
SLIST_INIT(&dpt->free_dccb_list);
LIST_INIT(&dpt->pending_ccb_list);
- TAILQ_INSERT_TAIL(&dpt_softcs, dpt, links);
for (i = 0; i < MAX_CHANNELS; i++)
dpt->resetlevel[i] = DPT_HA_OK;
@@ -1236,8 +1232,6 @@ dpt_free(struct dpt_softc *dpt)
case 0:
break;
}
-
- TAILQ_REMOVE(&dpt_softcs, dpt, links);
}
int
OpenPOWER on IntegriCloud