diff options
author | scameron@beardog.cca.cpqcorp.net <scameron@beardog.cca.cpqcorp.net> | 2009-06-08 17:09:32 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-06-08 23:47:43 -0400 |
commit | 72f9f1324fc4cd450c92e4600a710231b0445c75 (patch) | |
tree | 1b293d0fb9c28bde38c321fa213ce7e765a8fd69 /drivers/block/cciss.h | |
parent | 85cc61ae41084cb6d8ecc6c9e01ac4563005c8ac (diff) |
cciss: Remove no longer needed sendcmd reject processing code
Now that the cciss SCSI error handling routines operate with interrupts
enabled, we no longer need to maintain the list of command completions that
sendcmd() might inadvertantly scoop up, since now it only runs at driver init
time, and there won't be any other commands for it to scoop up. So we
can remove that list and the code that adds to it and processes it.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cca.cpqcorp.net>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/cciss.h')
-rw-r--r-- | drivers/block/cciss.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/block/cciss.h b/drivers/block/cciss.h index 25cd58e25021..06a5db25b298 100644 --- a/drivers/block/cciss.h +++ b/drivers/block/cciss.h | |||
@@ -53,14 +53,6 @@ typedef struct _drive_info_struct | |||
53 | char rev[REV_LEN + 1]; /* SCSI revision string */ | 53 | char rev[REV_LEN + 1]; /* SCSI revision string */ |
54 | } drive_info_struct; | 54 | } drive_info_struct; |
55 | 55 | ||
56 | #ifdef CONFIG_CISS_SCSI_TAPE | ||
57 | |||
58 | struct sendcmd_reject_list { | ||
59 | int ncompletions; | ||
60 | unsigned long *complete; /* array of NR_CMDS tags */ | ||
61 | }; | ||
62 | |||
63 | #endif | ||
64 | struct ctlr_info | 56 | struct ctlr_info |
65 | { | 57 | { |
66 | int ctlr; | 58 | int ctlr; |
@@ -128,7 +120,6 @@ struct ctlr_info | |||
128 | void *scsi_ctlr; /* ptr to structure containing scsi related stuff */ | 120 | void *scsi_ctlr; /* ptr to structure containing scsi related stuff */ |
129 | /* list of block side commands the scsi error handling sucked up */ | 121 | /* list of block side commands the scsi error handling sucked up */ |
130 | /* and saved for later processing */ | 122 | /* and saved for later processing */ |
131 | struct sendcmd_reject_list scsi_rejects; | ||
132 | #endif | 123 | #endif |
133 | unsigned char alive; | 124 | unsigned char alive; |
134 | struct completion *rescan_wait; | 125 | struct completion *rescan_wait; |