mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 11:56:43 +07: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