From: Ashok Vairavan Date: Mon, 13 Mar 2017 01:42:45 +0000 (-0700) Subject: Revert "NVMe: reverse IO direction for VUC command code F7" X-Git-Tag: v4.1.12-102.0.20170601_1400~211 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=df1125dbb6c21c83851bec30981668491778ce99;p=users%2Fjedix%2Flinux-maple.git Revert "NVMe: reverse IO direction for VUC command code F7" This reverts commit a9ddbd6640c88276b8cc8bea5201bf45df7ab71e. --- diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index fc3e0daac00e9..84e5f70c86f2d 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -1034,9 +1034,6 @@ int __nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd, struct request *req; int ret; - if(cmd->common.opcode == 0xF7) - write = 0; - req = blk_mq_alloc_request(q, write, GFP_KERNEL, false); if (IS_ERR(req)) return PTR_ERR(req);