nvme: Remove the redundant aqa value setting
AQA (Admin Queue Attributes) register is a dword size with lower word of ASQS, and higher word of ACQS. The code set the variable aqa twice, but it is redundant. Signed-off-by: Wesley Sheng <wesleyshenggit@sina.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
859b33c948
commit
c3e52c71bb
@ -387,7 +387,6 @@ static int nvme_configure_admin_queue(struct nvme_dev *dev)
|
||||
|
||||
aqa = nvmeq->q_depth - 1;
|
||||
aqa |= aqa << 16;
|
||||
aqa |= aqa << 16;
|
||||
|
||||
dev->page_size = 1 << page_shift;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user