target: tcm_loop: Delete an unnecessary return statement in tcm_loop_submission_work()

"Linux Kernel Mailing List" <[email protected]>
Newsgroups gmane.linux.kernel.commits.head
Message-ID <[email protected]>
Web:        https://git.kernel.org/torvalds/c/2dfe3511ce8c15f25c121f30353dcf02b074ef15
Commit:     2dfe3511ce8c15f25c121f30353dcf02b074ef15
Parent:     7deeceb4c7c53efeba54fbc7aab9e6b393f5d984
Refname:    refs/heads/master
Author:     Markus Elfring <[email protected]>
AuthorDate: Mon Dec 11 10:58:33 2017 +0100
Committer:  Nicholas Bellinger <[email protected]>
CommitDate: Fri Jan 12 15:07:25 2018 -0800

    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 <[email protected]>
    Signed-off-by: Nicholas Bellinger <[email protected]>
---
 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;
 }
 
 /*
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.