nvme-fc: Use rq_dma_dir macro
authorIsrael Rukshin <israelr@mellanox.com>
Wed, 28 Aug 2019 11:11:49 +0000 (14:11 +0300)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 29 Aug 2019 19:55:03 +0000 (12:55 -0700)
commitf15872c5dce43b69c3dee7739d7d3f54c54fc527
tree4d607a98c306813f78fd2523796e524307bd7ca4
parentf2fa006f81cc5e7b5b9ef2c06dfeb50f52a47250
nvme-fc: Use rq_dma_dir macro

Remove code duplication.

Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/nvme/host/fc.c