aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/loopback/tcm_loop.c
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2017-12-11 10:58:33 +0100
committerNicholas Bellinger <nab@linux-iscsi.org>2018-01-12 15:07:25 -0800
commit2dfe3511ce8c15f25c121f30353dcf02b074ef15 (patch)
tree574acb049b8ac3ecdab3d03076556bddee0f47eb /drivers/target/loopback/tcm_loop.c
parenttarget: tcm_loop: Delete two unnecessary variable initialisations in tcm_loop_issue_tmr() (diff)
downloadlinux-dev-2dfe3511ce8c15f25c121f30353dcf02b074ef15.tar.xz
linux-dev-2dfe3511ce8c15f25c121f30353dcf02b074ef15.zip
target: tcm_loop: Delete an unnecessary return statement in tcm_loop_submission_work()
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@users.sourceforge.net> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to '')
-rw-r--r--drivers/target/loopback/tcm_loop.c1
1 files changed, 0 insertions, 1 deletions
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;
}
/*