]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nvme-apple: return directly instead of else
authorChaitanya Kulkarni <kch@nvidia.com>
Mon, 27 Mar 2023 05:48:38 +0000 (22:48 -0700)
committerChristoph Hellwig <hch@lst.de>
Thu, 13 Apr 2023 06:55:06 +0000 (08:55 +0200)
commitcf806e3ab1c1878e357fd91205e020ea0dfdafe6
tree7c833702b323a9eee072deec19feddd9477a2932
parent2ce525d40aa61c87884b100995e59ba68b4ea059
nvme-apple: return directly instead of else

There is no need for the else when direct return is used at the end of
the function.

Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/apple.c