mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 06:49:29 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
33db686a22
commit
a2ce13a7bb
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user