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

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;