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/osc/lproc_osc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/staging/lustre/lustre/osc/lproc_osc.c +2 -2
@@ -585,9 +585,9 @@ static ssize_t max_pages_per_rpc_store(struct kobject *kobj, chunk_mask = ~((1 << (cli->cl_chunkbits -PAGE_SHIFT )) -1 );/* max_pages_per_rpc must be chunk aligned */ val = (val + ~chunk_mask) & chunk_mask; -if (val ==0 || val > ocd->ocd_brw_size >>PAGE_SHIFT ) { +if (val ==0 || val > ocd->ocd_brw_size >>PAGE_SHIFT )return -ERANGE ; - } +spin_lock (&cli->cl_loi_list_lock); cli->cl_max_pages_per_rpc = val;client_adjust_max_dirty (cli);
Signature · 1 line
2.7.4