Skip to content

Commit

Permalink
staging: lustre: ldlm: Remove unnecessary line continuations
Browse files Browse the repository at this point in the history
checkpatch finds two unnecessary line continuations in ldlm_lockd.c
which are removed by this patch.

Signed-off-by: Andreas Ruprecht <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
rupran authored and gregkh committed Nov 26, 2014
1 parent fd0c587 commit b0e47b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ static int ldlm_setup(void)
.so_req_handler = ldlm_callback_handler,
},
};
ldlm_state->ldlm_cb_service = \
ldlm_state->ldlm_cb_service =
ptlrpc_register_service(&conf, ldlm_svc_proc_dir);
if (IS_ERR(ldlm_state->ldlm_cb_service)) {
CERROR("failed to start service\n");
Expand Down Expand Up @@ -1079,7 +1079,7 @@ static int ldlm_setup(void)
blp->blp_min_threads = LDLM_NTHRS_INIT;
blp->blp_max_threads = LDLM_NTHRS_MAX;
} 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,
ldlm_num_threads));
}
Expand Down

0 comments on commit b0e47b9

Please sign in to comment.