summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew.r.wilcox@intel.com>2011-02-15 13:44:13 -0500
committerMatthew Wilcox <matthew.r.wilcox@intel.com>2011-11-04 15:52:58 -0400
commitca1615424c9adfdbe7d484771d7a7c5ecc4bb6d2 (patch)
tree305e7dc84d5885eed1181a97e0f85aa62292d04b /drivers/block
parentad8a5df97cb060aa4d817af25587c99e2d2fda97 (diff)
downloadop-kernel-dev-ca1615424c9adfdbe7d484771d7a7c5ecc4bb6d2.zip
op-kernel-dev-ca1615424c9adfdbe7d484771d7a7c5ecc4bb6d2.tar.gz
NVMe: Remove setting of 'flags' in rw command
This was the data transfer bit until spec rev 0.92 Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/nvme.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/nvme.c b/drivers/block/nvme.c
index 7554625..37cdf07 100644
--- a/drivers/block/nvme.c
+++ b/drivers/block/nvme.c
@@ -462,7 +462,6 @@ static int nvme_submit_bio_queue(struct nvme_queue *nvmeq, struct nvme_ns *ns,
if (nvme_map_bio(nvmeq->q_dmadev, nbio, bio, dma_dir, psegs) == 0)
goto free_nbio;
- cmnd->rw.flags = 1;
cmnd->rw.command_id = cmdid;
cmnd->rw.nsid = cpu_to_le32(ns->ns_id);
nbio->prps = nvme_setup_prps(nvmeq->dev, &cmnd->common, nbio->sg,
OpenPOWER on IntegriCloud