Re: [PATCH 2/2] nvme-fcloop: no need to return from void function

Nitesh Shetty
2023-05-26T06:13:30Z

[-- Attachment #1: Type: text/plain, Size: 647 bytes --]

On 23/05/19 02:40AM, Chaitanya Kulkarni wrote:
>Remove return at the end of void function.
>
>Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
>---
> drivers/nvme/target/fcloop.c | 2 --
> 1 file changed, 2 deletions(-)
>
>diff --git a/drivers/nvme/target/fcloop.c b/drivers/nvme/target/fcloop.c
>index e940a7d37a9d..1ab3d900f2bf 100644
>--- a/drivers/nvme/target/fcloop.c
>+++ b/drivers/nvme/target/fcloop.c
>@@ -645,8 +645,6 @@ fcloop_fcp_recv_work(struct work_struct *work)
> }
> if (ret)
> fcloop_call_host_done(fcpreq, tfcp_req, ret);
>-
>- return;
> }
>
> static void
>--
>2.40.0
>
>
Reviewed-by: Nitesh Shetty <nj.shetty@samsung.com>

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]