mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
Staging: lustre: lnet: Remove braces for single statement blocks
The linux kernel coding style discourages use of braces for single statement blocks. This patch removes the unnecessary braces. The warning was detected using checkpatch.pl. Coccinelle was used to make the change. Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
9d927bc51b
commit
e03b80cfc2
@@ -253,11 +253,10 @@ kiblnd_handle_completion(kib_conn_t *conn, int txtype, int status, __u64 cookie)
|
||||
}
|
||||
|
||||
if (tx->tx_status == 0) { /* success so far */
|
||||
if (status < 0) { /* failed? */
|
||||
if (status < 0) /* failed? */
|
||||
tx->tx_status = status;
|
||||
} else if (txtype == IBLND_MSG_GET_REQ) {
|
||||
else if (txtype == IBLND_MSG_GET_REQ)
|
||||
lnet_set_reply_msg_len(ni, tx->tx_lntmsg[1], status);
|
||||
}
|
||||
}
|
||||
|
||||
tx->tx_waiting = 0;
|
||||
|
||||
Reference in New Issue
Block a user