[PATCH 2/2] nvme-fcloop: no need to return from void function
Nitesh Shetty
nj.shetty at samsung.com
Thu May 25 23:05:33 PDT 2023
On 23/05/19 02:40AM, Chaitanya Kulkarni wrote:
>Remove return at the end of void function.
>
>Signed-off-by: Chaitanya Kulkarni <kch at 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 at samsung.com>
More information about the Linux-nvme
mailing list