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 16:09:32 -0500
committerJens Axboe <jens.axboe@oracle.com>2009-06-09 05:47:43 +0200
commit72f9f1324fc4cd450c92e4600a710231b0445c75 (patch)
tree1b293d0fb9c28bde38c321fa213ce7e765a8fd69 /drivers/block/cciss.h
parent85cc61ae41084cb6d8ecc6c9e01ac4563005c8ac (diff)
downloadkernel_samsung_smdk4412-72f9f1324fc4cd450c92e4600a710231b0445c75.zip
kernel_samsung_smdk4412-72f9f1324fc4cd450c92e4600a710231b0445c75.tar.gz
kernel_samsung_smdk4412-72f9f1324fc4cd450c92e4600a710231b0445c75.tar.bz2
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 25cd58e..06a5db2 100644
--- a/drivers/block/cciss.h
+++ b/drivers/block/cciss.h
@@ -53,14 +53,6 @@ typedef struct _drive_info_struct
char rev[REV_LEN + 1]; /* SCSI revision string */
} drive_info_struct;
-#ifdef CONFIG_CISS_SCSI_TAPE
-
-struct sendcmd_reject_list {
- int ncompletions;
- unsigned long *complete; /* array of NR_CMDS tags */
-};
-
-#endif
struct ctlr_info
{
int ctlr;
@@ -128,7 +120,6 @@ struct ctlr_info
void *scsi_ctlr; /* ptr to structure containing scsi related stuff */
/* list of block side commands the scsi error handling sucked up */
/* and saved for later processing */
- struct sendcmd_reject_list scsi_rejects;
#endif
unsigned char alive;
struct completion *rescan_wait;