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:
Amitoj Kaur Chawla 2016-02-24 03:13:55 +05:30 committed by Greg Kroah-Hartman
parent 4d2a71d02b
commit 4d163b4938

View File

@ -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