aic79xx: remove the last vestiges of the runq
Subsystems (2)
Next patch in the aic series... this one should have been posted with the last 4-part patch series.
Do not apply, only for review.
author Jeff Garzik <[email protected]> Sun, 29 May 2005 12:22:46 -0400 committer Jeff Garzik <[email protected]> Sun, 29 May 2005 12:22:46 -0400
[SCSI] aic79xx: remove the last vestiges of the runq
This was rendered obsolete by the busyq removal; remove some of the last remnants of its presence.
drivers/scsi/aic7xxx/aic79xx_osm.c +0 -5
@@ -1796,7 +1796,6 @@ ahd_platform_alloc(struct ahd_softc *ahdreturn (ENOMEM );memset (ahd->platform_data,0 ,sizeof (struct ahd_platform_data ));TAILQ_INIT (&ahd->platform_data->completeq); -TAILQ_INIT (&ahd->platform_data->device_runq); ahd->platform_data->irq =AHD_LINUX_NOIRQ ; ahd->platform_data->hw_dma_mask =0xFFFFFFFF ;ahd_lockinit (ahd);
@@ -3923,10 +3922,6 @@ ahd_done(struct ahd_softc *ahd, struct s && dev->active == 0 && (dev->flags & AHD_DEV_TIMER_ACTIVE) == 0)ahd_linux_free_device (ahd, dev); - else if ((dev->flags & AHD_DEV_ON_RUN_LIST) == 0) { -TAILQ_INSERT_TAIL (&ahd->platform_data->device_runq, dev, links); - dev->flags |=AHD_DEV_ON_RUN_LIST ; - }if ((scb->flags &SCB_RECOVERY_SCB ) !=0 ) {printf ("Recovery SCB completes\n" );
drivers/scsi/aic7xxx/aic79xx_osm.h +0 -2
@@ -315,7 +315,6 @@ typedef enum {AHD_DEV_UNCONFIGURED =0x01 ,AHD_DEV_FREEZE_TIL_EMPTY =0x02 ,/* Freeze queue until active == 0 */ AHD_DEV_TIMER_ACTIVE =0x04 ,/* Our timer is active */ -AHD_DEV_ON_RUN_LIST =0x08 ,/* Queued to be run later */ AHD_DEV_Q_BASIC =0x10 ,/* Allow basic device queuing */ AHD_DEV_Q_TAGGED =0x20 ,/* Allow full SCSI2 command queueing */ AHD_DEV_PERIODIC_OTAG = 0x40, /* Send OTAG to prevent starvation */
@@ -503,7 +502,6 @@ struct ahd_platform_data {* Fields accessed from interrupt context. */ struct ahd_linux_target *targets[AHD_NUM_TARGETS ]; - TAILQ_HEAD(, ahd_linux_device) device_runq;struct ahd_completeq completeq;spinlock_t spin_lock;