]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
Revert "NVMe: reverse IO direction for VUC command code F7"
authorAshok Vairavan <ashok.vairavan@oracle.com>
Mon, 13 Mar 2017 01:42:45 +0000 (18:42 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:24 +0000 (13:40 -0700)
This reverts commit a9ddbd6640c88276b8cc8bea5201bf45df7ab71e.

drivers/nvme/host/pci.c

index fc3e0daac00e91673310ddc86f22da45edd6ab97..84e5f70c86f2d19f42af3b739a1e3dc468c38d29 100644 (file)
@@ -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);