Commit fd0c587a authored by Andreas Ruprecht's avatar Andreas Ruprecht Committed by Greg Kroah-Hartman
Browse files

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: default avatarAndreas Ruprecht <rupran@einserver.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9844f9c9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
}

/**