Commit bf050e55 authored by Anil Belur's avatar Anil Belur Committed by Greg Kroah-Hartman

staging: lustre: ldlm: ldlm_resource.c removed unecessary braces

- this fixed the "WARNING: braces {} are not necessary for
  single statement blocks"
Signed-off-by: default avatarAnil Belur <askb23@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d1acbe57
......@@ -854,9 +854,8 @@ void ldlm_namespace_free_prior(struct ldlm_namespace *ns,
{
int rc;
if (!ns) {
if (!ns)
return;
}
spin_lock(&ns->ns_lock);
ns->ns_stopping = 1;
......@@ -888,9 +887,8 @@ void ldlm_namespace_free_prior(struct ldlm_namespace *ns,
*/
void ldlm_namespace_free_post(struct ldlm_namespace *ns)
{
if (!ns) {
if (!ns)
return;
}
/* Make sure that nobody can find this ns in its list. */
ldlm_namespace_unregister(ns, ns->ns_client);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment