aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.h
diff options
context:
space:
mode:
authorscameron@beardog.cca.cpqcorp.net <scameron@beardog.cca.cpqcorp.net>2009-06-08 17:09:32 -0400
committerJens Axboe <jens.axboe@oracle.com>2009-06-08 23:47:43 -0400
commit72f9f1324fc4cd450c92e4600a710231b0445c75 (patch)
tree1b293d0fb9c28bde38c321fa213ce7e765a8fd69 /drivers/block/cciss.h
parent85cc61ae41084cb6d8ecc6c9e01ac4563005c8ac (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.h9
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
58struct sendcmd_reject_list {
59 int ncompletions;
60 unsigned long *complete; /* array of NR_CMDS tags */
61};
62
63#endif
64struct ctlr_info 56struct 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;