[PATCH] NVMe: Remove the redundant sg_mar_end()
Keith Busch
keith.busch at intel.com
Thu Jun 18 08:04:28 PDT 2015
On Thu, 18 Jun 2015, Yijing Wang wrote:
> sg_init_table() already called sg_mark_end(),
> remove the redundant one.
Your repository must be pointing to an older branch. This function doesn't
exist in the most current driver staged in the linux-block/for-next tree.
> @@ -1708,7 +1708,6 @@ struct nvme_iod *nvme_map_user_pages(struct nvme_dev *dev, int write,
> length -= (PAGE_SIZE - offset);
> offset = 0;
> }
> - sg_mark_end(&sg[i - 1]);
> iod->nents = count;
>
> nents = dma_map_sg(&dev->pci_dev->dev, sg, count,
More information about the Linux-nvme
mailing list