mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-18 20:16:54 +07:00
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: Amitoj Kaur Chawla <amitoj1606@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
4d2a71d02b
commit
4d163b4938
@ -800,12 +800,10 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user