提交 c3e52c71 编写于 作者: W Wesley Sheng 提交者: Bin Meng

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: NWesley Sheng <wesleyshenggit@sina.com>
Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
上级 859b33c9
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册