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

Commit 4d163b49 authored by Amitoj Kaur Chawla's avatar Amitoj Kaur Chawla Committed by Greg Kroah-Hartman
Browse files

staging: lustre: libcfs: Remove unnecessary braces



Removed unncessary braces from the if-else block to remove the
following checkpatch.pl warning:
WARNING: braces {} are not necessary for any arm of this statement

Signed-off-by: default avatarAmitoj Kaur Chawla <amitoj1606@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4d2a71d0
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -800,13 +800,11 @@ cfs_hash_bd_order(struct cfs_hash_bd *bd1, struct cfs_hash_bd *bd2)
	}

	rc = cfs_hash_bd_compare(bd1, bd2);
	if (rc == 0) {
	if (rc == 0)
		bd2->bd_bucket = NULL;

	} else if (rc > 0) {
	else if (rc > 0)
		swap(*bd1, *bd2); /* swap bd1 and bd2 */
}
}

void
cfs_hash_dual_bd_get(struct cfs_hash *hs, const void *key,