]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: lustre: Remove return in void function
authorMelike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Fri, 27 Feb 2015 19:51:02 +0000 (21:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 00:33:47 +0000 (16:33 -0800)
WARNING: void function return statements are not generally useful
Remove return in void function. That was found by running checkpatch.

Signed-off-by: Melike Yurtoglu <aysemelikeyurtoglu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/client.c

index 4882dd0a448378fdadf536ef0edd3b2afc5d8a84..0f83492ecaccffd88b1f223155f68141c6f8a50b 100644 (file)
@@ -468,7 +468,6 @@ void ptlrpc_add_rqs_to_pool(struct ptlrpc_request_pool *pool, int num_rq)
                list_add_tail(&req->rq_list, &pool->prp_req_list);
        }
        spin_unlock(&pool->prp_lock);
-       return;
 }
 EXPORT_SYMBOL(ptlrpc_add_rqs_to_pool);