aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2007-10-02 21:55:27 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:53:11 -0400
commitae002fec6906622aa96d01f8065ef90023660a68 (patch)
tree01555a413c539fbd6a2402f1da4598facf298412
parent52fa07770921d9cbe815d3aff36702c88cdec978 (diff)
[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>
-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 { \
2230 2230
2231/* asc_board_t flags */ 2231/* asc_board_t flags */
2232#define ASC_IS_WIDE_BOARD 0x04 /* AdvanSys Wide Board */ 2232#define ASC_IS_WIDE_BOARD 0x04 /* AdvanSys Wide Board */
2233#define ASC_SELECT_QUEUE_DEPTHS 0x08
2234 2233
2235#define ASC_NARROW_BOARD(boardp) (((boardp)->flags & ASC_IS_WIDE_BOARD) == 0) 2234#define ASC_NARROW_BOARD(boardp) (((boardp)->flags & ASC_IS_WIDE_BOARD) == 0)
2236#define ASC_WIDE_BOARD(boardp) ((boardp)->flags & ASC_IS_WIDE_BOARD) 2235#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)
10135static int advansys_slave_configure(struct scsi_device *sdev) 10134static int advansys_slave_configure(struct scsi_device *sdev)
10136{ 10135{
10137 asc_board_t *boardp = ASC_BOARDP(sdev->host); 10136 asc_board_t *boardp = ASC_BOARDP(sdev->host);
10138 boardp->flags |= ASC_SELECT_QUEUE_DEPTHS;
10139 10137
10140 if (ASC_NARROW_BOARD(boardp)) 10138 if (ASC_NARROW_BOARD(boardp))
10141 advansys_narrow_slave_configure(sdev, 10139 advansys_narrow_slave_configure(sdev,