diff options
author | Yufeng Mo <moyufeng@huawei.com> | 2021-05-20 08:18:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-05-21 00:43:24 +0200 |
commit | 52333512701b56464a42f79b82570b37e7b91164 (patch) | |
tree | f5d241db63038ccbc0b6ff420b339b4fb8b8823d /drivers/net/bonding/bond_debugfs.c | |
parent | net: bonding: fix code indent for conditional statements (diff) | |
download | linux-52333512701b56464a42f79b82570b37e7b91164.tar.xz linux-52333512701b56464a42f79b82570b37e7b91164.zip |
net: bonding: remove unnecessary braces
Braces {} are not necessary for single statement blocks,
so remove these braces {}.
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bond_debugfs.c')
-rw-r--r-- | drivers/net/bonding/bond_debugfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/bonding/bond_debugfs.c b/drivers/net/bonding/bond_debugfs.c index f3f86ef68ae0..4f9b4a18c74c 100644 --- a/drivers/net/bonding/bond_debugfs.c +++ b/drivers/net/bonding/bond_debugfs.c @@ -88,9 +88,8 @@ void bond_create_debugfs(void) { bonding_debug_root = debugfs_create_dir("bonding", NULL); - if (!bonding_debug_root) { + if (!bonding_debug_root) pr_warn("Warning: Cannot create bonding directory in debugfs\n"); - } } void bond_destroy_debugfs(void) |