Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83bffc81 authored by Masanari Iida's avatar Masanari Iida Committed by Greg Kroah-Hartman
Browse files

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: default avatarMasanari Iida <standby24x7@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5152bda8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -330,10 +330,9 @@ 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);

	return rc;