Commit 1bb52182 authored by Peng Li's avatar Peng Li Committed by David S. Miller

net: hdlc: add braces {} to all arms of the statement

Braces {} should be used on all arms of this statement.
Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e50eb6c3
...@@ -163,8 +163,9 @@ int hdlc_open(struct net_device *dev) ...@@ -163,8 +163,9 @@ int hdlc_open(struct net_device *dev)
if (hdlc->carrier) { if (hdlc->carrier) {
netdev_info(dev, "Carrier detected\n"); netdev_info(dev, "Carrier detected\n");
hdlc_proto_start(dev); hdlc_proto_start(dev);
} else } else {
netdev_info(dev, "No carrier\n"); netdev_info(dev, "No carrier\n");
}
hdlc->open = 1; hdlc->open = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment