staging : lustre : Remove braces from single-line body.
Remove unnecessary braces {} for single while statement. This warning is found using checkpatch.pl. Signed-off-by: Tabrez khan <khan.tabrez21@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
364139d3b0
commit
69eb1a0dbf
@ -1119,9 +1119,9 @@ int cl_sync_io_wait(const struct lu_env *env, struct cl_sync_io *anchor,
|
||||
LASSERT(atomic_read(&anchor->csi_sync_nr) == 0);
|
||||
|
||||
/* wait until cl_sync_io_note() has done wakeup */
|
||||
while (unlikely(atomic_read(&anchor->csi_barrier) != 0)) {
|
||||
while (unlikely(atomic_read(&anchor->csi_barrier) != 0))
|
||||
cpu_relax();
|
||||
}
|
||||
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user