nvme-pci: use ctrl sgl check helper
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Thu, 10 Jun 2021 01:28:25 +0000 (18:28 -0700)
committerChristoph Hellwig <hch@lst.de>
Thu, 17 Jun 2021 13:51:19 +0000 (15:51 +0200)
commit253a0b76a12a4cce14095b3d74004e67a6434d79
tree944082a87e1423b9f0bb87a7a50a219ad1c476ea
parentb61678bcd43c6686a6d0cf965934a54b4225821d
nvme-pci: use ctrl sgl check helper

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

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c