]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8f8d7328b319cc151c61759fb592da5323a5ffa6
tree562049fd3ec795ed5b903d1465363117b3cb258e
parentefb45f50ab8eba70d7d93d62a49e3b79e20158c5
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