nvme-apple: return directly instead of else
authorChaitanya Kulkarni <kch@nvidia.com>
Mon, 27 Mar 2023 05:48:37 +0000 (22:48 -0700)
committerChristoph Hellwig <hch@lst.de>
Thu, 13 Apr 2023 06:55:06 +0000 (08:55 +0200)
commit2ce525d40aa61c87884b100995e59ba68b4ea059
tree0518f7ebc8aa913fa76e75048b7473438e18d2ac
parent6fe240bc0d97902ecebd811bb22bd85b36d75ee2
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