staging: lustre: ldlm: Remove unnecessary line continuations
checkpatch finds two unnecessary line continuations in ldlm_lockd.c which are 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
fd0c587aa9
commit
b0e47b96e3
@ -1051,7 +1051,7 @@ static int ldlm_setup(void)
|
|||||||
.so_req_handler = ldlm_callback_handler,
|
.so_req_handler = ldlm_callback_handler,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
ldlm_state->ldlm_cb_service = \
|
ldlm_state->ldlm_cb_service =
|
||||||
ptlrpc_register_service(&conf, ldlm_svc_proc_dir);
|
ptlrpc_register_service(&conf, ldlm_svc_proc_dir);
|
||||||
if (IS_ERR(ldlm_state->ldlm_cb_service)) {
|
if (IS_ERR(ldlm_state->ldlm_cb_service)) {
|
||||||
CERROR("failed to start service\n");
|
CERROR("failed to start service\n");
|
||||||
@ -1079,7 +1079,7 @@ static int ldlm_setup(void)
|
|||||||
blp->blp_min_threads = LDLM_NTHRS_INIT;
|
blp->blp_min_threads = LDLM_NTHRS_INIT;
|
||||||
blp->blp_max_threads = LDLM_NTHRS_MAX;
|
blp->blp_max_threads = LDLM_NTHRS_MAX;
|
||||||
} else {
|
} else {
|
||||||
blp->blp_min_threads = blp->blp_max_threads = \
|
blp->blp_min_threads = blp->blp_max_threads =
|
||||||
min_t(int, LDLM_NTHRS_MAX, max_t(int, LDLM_NTHRS_INIT,
|
min_t(int, LDLM_NTHRS_MAX, max_t(int, LDLM_NTHRS_INIT,
|
||||||
ldlm_num_threads));
|
ldlm_num_threads));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user