nvme-fc: use ctrl sgl check helper
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Thu, 10 Jun 2021 01:28:24 +0000 (18:28 -0700)
committerChristoph Hellwig <hch@lst.de>
Thu, 17 Jun 2021 13:51:18 +0000 (15:51 +0200)
commitb61678bcd43c6686a6d0cf965934a54b4225821d
tree77e04d97e320ec6d232808ef675d1ff4a98275c5
parent73eefc270afa1f27d82c42fdb34562d07a834b40
nvme-fc: use ctrl sgl check helper

Use the helper to check NVMe controller's SGL support.

Reviewed-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fc.c