summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/advansys.c
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2007-10-03 03:55:27 +0200
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 20:53:11 +0200
commitae002fec6906622aa96d01f8065ef90023660a68 (patch)
tree01555a413c539fbd6a2402f1da4598facf298412 /drivers/scsi/advansys.c
parent[SCSI] advansys: Improve reset handler (diff)
downloadlinux-ae002fec6906622aa96d01f8065ef90023660a68.tar.xz
linux-ae002fec6906622aa96d01f8065ef90023660a68.zip
[SCSI] advansys: Remove ASC_SELECT_QUEUE_DEPTHS
It was only ever set; never tested, nor cleared. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/advansys.c')
-rw-r--r--drivers/scsi/advansys.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c
index 52ea41d175af..5e6bcf2e5d15 100644
--- a/drivers/scsi/advansys.c
+++ b/drivers/scsi/advansys.c
@@ -2230,7 +2230,6 @@ do { \
/* asc_board_t flags */
#define ASC_IS_WIDE_BOARD 0x04 /* AdvanSys Wide Board */
-#define ASC_SELECT_QUEUE_DEPTHS 0x08
#define ASC_NARROW_BOARD(boardp) (((boardp)->flags & ASC_IS_WIDE_BOARD) == 0)
#define ASC_WIDE_BOARD(boardp) ((boardp)->flags & ASC_IS_WIDE_BOARD)
@@ -10135,7 +10134,6 @@ advansys_wide_slave_configure(struct scsi_device *sdev, ADV_DVC_VAR *adv_dvc)
static int advansys_slave_configure(struct scsi_device *sdev)
{
asc_board_t *boardp = ASC_BOARDP(sdev->host);
- boardp->flags |= ASC_SELECT_QUEUE_DEPTHS;
if (ASC_NARROW_BOARD(boardp))
advansys_narrow_slave_configure(sdev,