Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1547964
| From | Tabrez khan <khan.tabrez21@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] staging : lustre : Remove braces from single-line body. |
| Date | 2016-12-28 15:20 +0100 |
| Message-ID | <sTnfb-PF-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Remove unnecessary braces from single-line if statement.
This warning is found using checkpatch.pl.
Signed-off-by: Tabrez khan <khan.tabrez21@gmail.com>
---
drivers/staging/lustre/lustre/ptlrpc/import.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/lustre/lustre/ptlrpc/import.c b/drivers/staging/lustre/lustre/ptlrpc/import.c
index 477d832..b55680b 100644
--- a/drivers/staging/lustre/lustre/ptlrpc/import.c
+++ b/drivers/staging/lustre/lustre/ptlrpc/import.c
@@ -1392,9 +1392,9 @@ int ptlrpc_import_recovery_state_machine(struct obd_import *imp)
}
if (imp->imp_state == LUSTRE_IMP_REPLAY_WAIT) {
- if (atomic_read(&imp->imp_replay_inflight) == 0) {
+ if (atomic_read(&imp->imp_replay_inflight) == 0)
IMPORT_SET_STATE(imp, LUSTRE_IMP_RECOVER);
- }
+
}
if (imp->imp_state == LUSTRE_IMP_RECOVER) {
--
2.7.4
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] staging : lustre : Remove braces from single-line body. Tabrez khan <khan.tabrez21@gmail.com> - 2016-12-28 15:20 +0100 Re: [PATCH] staging : lustre : Remove braces from single-line body. Greg KH <gregkh@linuxfoundation.org> - 2017-01-03 15:20 +0100
csiph-web