Braces {} are not necessary for single statement blocks,
this patch removes redundant braces {}.
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>
        ut_info->uf_info.irq = irq_of_parse_and_map(np, 0);
 
        uhdlc_priv = kzalloc(sizeof(*uhdlc_priv), GFP_KERNEL);
-       if (!uhdlc_priv) {
+       if (!uhdlc_priv)
                return -ENOMEM;
-       }
 
        dev_set_drvdata(&pdev->dev, uhdlc_priv);
        uhdlc_priv->dev = &pdev->dev;