diff options
author | Finn Thain <fthain@telegraphics.com.au> | 2016-01-03 06:05:37 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-01-07 03:42:59 +0100 |
commit | 8d8601a757688386e914b922cc267a9244e0fdc9 (patch) | |
tree | f92f9fa36f61508ebbb13bbc7a35841e4a4262d8 /drivers/scsi/NCR5380.h | |
parent | ncr5380: Dont wait for BUS FREE after disconnect (diff) | |
download | linux-8d8601a757688386e914b922cc267a9244e0fdc9.tar.xz linux-8d8601a757688386e914b922cc267a9244e0fdc9.zip |
ncr5380: Use work_struct instead of delayed_work
Each host instance now has it's own work queue so the main() work item can
sleep when necessary. That means we can use a simple work item rather than
a delayed work item. This brings NCR5380.c closer to atari_NCR5380.c.
Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Tested-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/NCR5380.h')
-rw-r--r-- | drivers/scsi/NCR5380.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/NCR5380.h b/drivers/scsi/NCR5380.h index 9b7d7671d123..7ffcb0c33a22 100644 --- a/drivers/scsi/NCR5380.h +++ b/drivers/scsi/NCR5380.h @@ -256,7 +256,6 @@ struct NCR5380_hostdata { volatile struct scsi_cmnd *issue_queue; /* waiting to be issued */ volatile struct scsi_cmnd *disconnected_queue; /* waiting for reconnect */ int flags; - struct delayed_work coroutine; /* our co-routine */ struct scsi_eh_save ses; char info[256]; int read_overruns; /* number of bytes to cut from a |