From a28b5968f3f9ecb655c239089a3c8a1ad7eeab59 Mon Sep 17 00:00:00 2001 From: mdodd Date: Sat, 29 Mar 2003 14:51:50 +0000 Subject: Remove useless code. --- sys/dev/dpt/dpt_scsi.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sys') 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 -- cgit v1.1