Staging: lustre: console: Remove irrelevant return statement
PATCH 2/2 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 <[email protected]>
--- drivers/staging/lustre/lnet/selftest/console.c | 2 -- 1 file changed, 2 deletions(-)
drivers/staging/lustre/lnet/selftest/console.c +0 -2
@@ -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
Signature · 1 line
2.1.0