Commit 4b18c358 authored by Masaru Nomura's avatar Masaru Nomura Committed by Greg Kroah-Hartman

staging: lustre: socklnd: Remove unnecessary line continuation

Remove unnecessary line continuation '\' in socklnd.c to meet
kernel coding style.
Signed-off-by: default avatarMasaru Nomura <massa.nomura@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a10f33e9
...@@ -650,8 +650,7 @@ ksocknal_get_conn_by_idx (lnet_ni_t *ni, int index) ...@@ -650,8 +650,7 @@ ksocknal_get_conn_by_idx (lnet_ni_t *ni, int index)
conn = list_entry (ctmp, ksock_conn_t, conn = list_entry (ctmp, ksock_conn_t,
ksnc_list); ksnc_list);
ksocknal_conn_addref(conn); ksocknal_conn_addref(conn);
read_unlock(&ksocknal_data. \ read_unlock(&ksocknal_data.ksnd_global_lock);
ksnd_global_lock);
return conn; return conn;
} }
} }
...@@ -2295,12 +2294,12 @@ ksocknal_base_shutdown(void) ...@@ -2295,12 +2294,12 @@ ksocknal_base_shutdown(void)
for (j = 0; j < info->ksi_nthreads_max; j++) { for (j = 0; j < info->ksi_nthreads_max; j++) {
sched = &info->ksi_scheds[j]; sched = &info->ksi_scheds[j];
LASSERT(list_empty(&sched->\ LASSERT(list_empty(
kss_tx_conns)); &sched->kss_tx_conns));
LASSERT(list_empty(&sched->\ LASSERT(list_empty(
kss_rx_conns)); &sched->kss_rx_conns));
LASSERT(list_empty(&sched-> \ LASSERT(list_empty(
kss_zombie_noop_txs)); &sched->kss_zombie_noop_txs));
LASSERT(sched->kss_nconns == 0); LASSERT(sched->kss_nconns == 0);
} }
} }
...@@ -2680,8 +2679,8 @@ ksocknal_search_new_ipif(ksock_net_t *net) ...@@ -2680,8 +2679,8 @@ ksocknal_search_new_ipif(ksock_net_t *net)
list_for_each_entry(tmp, &ksocknal_data.ksnd_nets, list_for_each_entry(tmp, &ksocknal_data.ksnd_nets,
ksnn_list) { ksnn_list) {
for (j = 0; !found && j < tmp->ksnn_ninterfaces; j++) { for (j = 0; !found && j < tmp->ksnn_ninterfaces; j++) {
char *ifnam2 = &tmp->ksnn_interfaces[j].\ char *ifnam2 =
ksni_name[0]; &tmp->ksnn_interfaces[j].ksni_name[0];
char *colon2 = strchr(ifnam2, ':'); char *colon2 = strchr(ifnam2, ':');
if (colon2 != NULL) if (colon2 != NULL)
......
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