[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9643f835-78e6-51cc-3d07-7a43a3c5eb07@users.sourceforge.net>
Date: Mon, 11 Dec 2017 11:46:51 +0100
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: target-devel@...r.kernel.org, linux-scsi@...r.kernel.org,
Bart Van Assche <bart.vanassche@...disk.com>,
"Nicholas A. Bellinger" <nab@...ux-iscsi.org>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: [PATCH 5/6] target: tcm_loop: Delete an unnecessary return statement
in tcm_loop_submission_work()
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Mon, 11 Dec 2017 10:58:33 +0100
The script "checkpatch.pl" pointed information out like the following.
WARNING: void function return statements are not generally useful
Thus remove such a statement in the affected function.
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
drivers/target/loopback/tcm_loop.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/target/loopback/tcm_loop.c b/drivers/target/loopback/tcm_loop.c
index 08dbf5b4ff15..ec01070bbb40 100644
--- a/drivers/target/loopback/tcm_loop.c
+++ b/drivers/target/loopback/tcm_loop.c
@@ -166,7 +166,6 @@ static void tcm_loop_submission_work(struct work_struct *work)
out_done:
kmem_cache_free(tcm_loop_cmd_cache, tl_cmd);
sc->scsi_done(sc);
- return;
}
/*
--
2.15.1
Powered by blists - more mailing lists