staging: lustre: ldlm: Fix warning about unneeded return statement
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>
This commit is contained in:
parent
9844f9c9b4
commit
fd0c587aa9
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue