mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 03:33:59 +08:00
[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>
This commit is contained in:
parent
52fa077709
commit
ae002fec69
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user