Skip to content
Commit 33b6debd authored by Liu Song's avatar Liu Song Committed by Jens Axboe
Browse files

nvme-pci: remove useless assignment in nvme_pci_setup_prps



If prp_list is NULL, nvme_unmap_sg will be performed, and the assignment
to first_dma is meaningless, so remove it.

Signed-off-by: default avatarLiu Song <liusong@linux.alibaba.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 80e27684
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment