diff options
| author | 2015-10-29 11:50:35 +0530 | |
|---|---|---|
| committer | 2015-11-15 20:02:47 -0800 | |
| commit | a2ce13a7bb03f7e09514e2022cf019ae790a97f0 (patch) | |
| tree | c6b9a76670aa2e41aabb6444b2d182d0b7afc461 | |
| parent | Staging: lustre: console: Drop unnecessary wrapper function (diff) | |
Staging: lustre: console: Remove irrelevant return statement
Remove return statement from the function lstcon_group_ndlink_move()
as its return type is void.
Fix checkpatch WARNING: void function return statements are not
generally useful
Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | drivers/staging/lustre/lnet/selftest/console.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lnet/selftest/console.c b/drivers/staging/lustre/lnet/selftest/console.c index 9748a0907c02..b1eceb4f4838 100644 --- a/drivers/staging/lustre/lnet/selftest/console.c +++ b/drivers/staging/lustre/lnet/selftest/console.c @@ -318,8 +318,6 @@ lstcon_group_ndlink_move(lstcon_group_t *old, list_add_tail(&ndl->ndl_hlink, &new->grp_ndl_hash[idx]); list_add_tail(&ndl->ndl_link, &new->grp_ndl_list); new->grp_nnode++; - - return; } static void |
