mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 02:02:28 +09:00
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user