From: Tabrez khan Date: Fri, 16 Dec 2016 14:29:31 +0000 (+0530) Subject: staging : lustre : Remove braces from single-line body. X-Git-Tag: v4.11-rc1~116^2~525 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69eb1a0dbfde3132022a063492ddd0f162b650a7;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/obdclass/cl_io.c b/drivers/staging/lustre/lustre/obdclass/cl_io.c index 3f42457..ee7d677 100644 --- a/drivers/staging/lustre/lustre/obdclass/cl_io.c +++ b/drivers/staging/lustre/lustre/obdclass/cl_io.c @@ -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; }