nvme: introduce nvme_is_aen_req function
authorIsrael Rukshin <israelr@mellanox.com>
Sun, 13 Oct 2019 16:57:31 +0000 (19:57 +0300)
committerJens Axboe <axboe@kernel.dk>
Mon, 4 Nov 2019 17:56:40 +0000 (10:56 -0700)
commit58a8df67e057e979e76f8dc881766da3f7137f99
treecd51a6846725db606e2dca98f56cf18fadb3ac5b
parentbcde5f0fc7d318c98d4234b52bcc1a87fc2162d9
nvme: introduce nvme_is_aen_req function

This function improves code readability and reduces code duplication.

Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/host/nvme.h
drivers/nvme/host/pci.c
drivers/nvme/host/rdma.c
drivers/nvme/host/tcp.c
drivers/nvme/target/loop.c