From: Peng Li Date: Tue, 1 Jun 2021 13:23:22 +0000 (+0800) Subject: net: hdlc: add braces {} to all arms of the statement X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1bb52182526552e31367ea521cf36d37ebb26966;p=linux.git 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 Signed-off-by: Guangbin Huang Signed-off-by: David S. Miller --- diff --git a/drivers/net/wan/hdlc.c b/drivers/net/wan/hdlc.c index f48d70e7f3ba1..dd6312b69861d 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;