提交 1bb52182 编写于 作者: P Peng Li 提交者: 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: NPeng Li <lipeng321@huawei.com>
Signed-off-by: NGuangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 e50eb6c3
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册