staging : lustre : Remove braces from single-line body.
PATCH 1/1 staging : lustre : Remove braces from single-line body.
Remove unnecessary braces from single-line if statement. This warning is found using checkpatch.pl.
Signed-off-by Tabrez khan <[email protected]>
--- drivers/staging/lustre/lustre/ptlrpc/import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/lustre/lustre/ptlrpc/import.c +2 -2
@@ -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 ) {
Signature · 1 line
2.7.4
Greg KH
maintainerQuoted 7 lines · Tabrez khan
Remove unnecessary braces from single-line if statement. This warning is found using checkpatch.pl.
Signed-off-by Tabrez khan <[email protected]>--- drivers/staging/lustre/lustre/ptlrpc/import.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
You have sent me 5 patches, with 4 of them having duplicated subject lines, yet they do different things. Also, what order am I supposed to apply these patches in?
Please resend them as a patch series, properly numbered, and with unique subjects.
thanks,
greg k-h