diff options
author | Peng Li <lipeng321@huawei.com> | 2021-06-01 21:23:22 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-01 16:57:47 -0700 |
commit | 1bb52182526552e31367ea521cf36d37ebb26966 (patch) | |
tree | ba691a13ed24f97f456770f157070ec6f1263515 /drivers/net/wan/hdlc.c | |
parent | e50eb6c3578c6bd7c43c30bfa40a882f0815a2d2 (diff) | |
download | linux-next-1bb52182526552e31367ea521cf36d37ebb26966.tar.gz |
net: hdlc: add braces {} to all arms of the statement
Braces {} should be used on all arms of this statement.
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan/hdlc.c')
-rw-r--r-- | drivers/net/wan/hdlc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wan/hdlc.c b/drivers/net/wan/hdlc.c index f48d70e7f3ba..dd6312b69861 100644 --- a/drivers/net/wan/hdlc.c +++ b/drivers/net/wan/hdlc.c @@ -163,8 +163,9 @@ int hdlc_open(struct net_device *dev) if (hdlc->carrier) { netdev_info(dev, "Carrier detected\n"); hdlc_proto_start(dev); - } else + } else { netdev_info(dev, "No carrier\n"); + } hdlc->open = 1; |