nvme: cleanup nvme_configure_apst
authorChristoph Hellwig <hch@lst.de>
Fri, 9 Apr 2021 06:47:44 +0000 (08:47 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 21 Apr 2021 17:13:16 +0000 (19:13 +0200)
commit60df5de9b0532aff59a00475b57c265b4a3620e1
tree562049fd3ec795ed5b903d1465363117b3cb258e
parent53fe2a30bc168db9700e00206d991ff934973cf1
nvme: cleanup nvme_configure_apst

Remove a level of indentation from the main code implementating the table
search by using a goto for the APST not supported case.  Also move the
main comment above the function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Niklas Cassel <niklas.cassel@wdc.com>
drivers/nvme/host/core.c