Skip to content

Commit

Permalink
staging: lustre: ldlm: Fix warning about unneeded return statement
Browse files Browse the repository at this point in the history
checkpatch complains about an unneeded return statement in the
function search_granted_lock(), which is removed by this patch.

Signed-off-by: Andreas Ruprecht <rupran@einserver.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
rupran authored and gregkh committed Nov 26, 2014
1 parent 9844f9c commit fd0c587
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/staging/lustre/lustre/ldlm/ldlm_lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,6 @@ static void search_granted_lock(struct list_head *queue,
prev->res_link = queue->prev;
prev->mode_link = &req->l_sl_mode;
prev->policy_link = &req->l_sl_policy;
return;
}

/**
Expand Down

0 comments on commit fd0c587

Please sign in to comment.