Skip to content

Commit

Permalink
[SCSI] advansys: Remove ASC_SELECT_QUEUE_DEPTHS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matthew Wilcox authored and James Bottomley committed Oct 12, 2007
1 parent 52fa077 commit ae002fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/scsi/advansys.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ae002fe

Please sign in to comment.