aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/lustre
diff options
context:
space:
mode:
authorAndreas Ruprecht <rupran@einserver.de>2014-11-23 14:37:53 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-26 12:50:27 -0800
commitfd0c587aa91d202b22184d96daa1edeeebcde718 (patch)
treeecfc9e6225821ccff27c67b018ce34d6dcfb4d10 /drivers/staging/lustre
parentstaging: lustre: ldlm: Fix initialization of static variables (diff)
downloadlinux-dev-fd0c587aa91d202b22184d96daa1edeeebcde718.tar.xz
linux-dev-fd0c587aa91d202b22184d96daa1edeeebcde718.zip
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>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r--drivers/staging/lustre/lustre/ldlm/ldlm_lock.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/lustre/lustre/ldlm/ldlm_lock.c b/drivers/staging/lustre/lustre/ldlm/ldlm_lock.c
index d36f865c8aa2..8191005464b1 100644
--- a/drivers/staging/lustre/lustre/ldlm/ldlm_lock.c
+++ b/drivers/staging/lustre/lustre/ldlm/ldlm_lock.c
@@ -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;
}
/**