Commit cf806e3a authored by Chaitanya Kulkarni's avatar Chaitanya Kulkarni Committed by Christoph Hellwig
Browse files

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: default avatarChaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: default avatarEric Curtin <ecurtin@redhat.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 2ce525d4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -217,7 +217,7 @@ static unsigned int apple_nvme_queue_depth(struct apple_nvme_queue *q)
{
	if (q->is_adminq)
		return APPLE_NVME_AQ_DEPTH;
	else

	return APPLE_ANS_MAX_QUEUE_DEPTH;
}