mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-31 22:15:38 +00:00
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
@ -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…
Reference in New Issue
Block a user