diff options
author | Masanari Iida | 2013-12-24 17:34:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-01-09 00:52:43 +0100 |
commit | 83bffc8125de274ea8fae106dffc873738d755b9 (patch) | |
tree | d7f592619ae94ed6a7cae0c421a5aa1e1bf5e252 /drivers/staging/lustre | |
parent | staging: lustre: Fix do not use C99 // comments in lcommon_cl.c (diff) | |
download | kernel-qcow2-linux-83bffc8125de274ea8fae106dffc873738d755b9.tar.gz kernel-qcow2-linux-83bffc8125de274ea8fae106dffc873738d755b9.tar.xz kernel-qcow2-linux-83bffc8125de274ea8fae106dffc873738d755b9.zip |
staging: lustre: Remove braces for single statement in kernel_user_comm.c
This patch fixed "WARNING: braces {} are not necessary for
single statement blocks" found by checkpatch.pl in
kernel_user_comm.c
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/lustre')
-rw-r--r-- | drivers/staging/lustre/lustre/libcfs/kernel_user_comm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/lustre/lustre/libcfs/kernel_user_comm.c b/drivers/staging/lustre/lustre/libcfs/kernel_user_comm.c index 1a423a24dcaa..7b2c31599327 100644 --- a/drivers/staging/lustre/lustre/libcfs/kernel_user_comm.c +++ b/drivers/staging/lustre/lustre/libcfs/kernel_user_comm.c @@ -330,9 +330,8 @@ int libcfs_kkuc_group_foreach(int group, libcfs_kkuc_cb_t cb_func, down_read(&kg_sem); list_for_each_entry(reg, &kkuc_groups[group], kr_chain) { - if (reg->kr_fp != NULL) { + if (reg->kr_fp != NULL) rc = cb_func(reg->kr_data, cb_arg); - } } up_read(&kg_sem); |