]> git.karo-electronics.de Git - linux-beck.git/commitdiff
imx-drm: ipu-dp: Remove unneeded braces
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 28 Jun 2013 16:55:29 +0000 (13:55 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Jul 2013 20:33:14 +0000 (13:33 -0700)
No need to have braces for a single line 'if' block

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/ipu-v3/ipu-dp.c

index 04495158398efd4e65bd0511d3e1d57d8c72d187..6e0e9f1c6517bd6655dab603f9f372ae30ad95d4 100644 (file)
@@ -317,9 +317,8 @@ int ipu_dp_init(struct ipu_soc *ipu, struct device *dev, unsigned long base)
        ipu->dp_priv = priv;
 
        priv->base = devm_ioremap(dev, base, PAGE_SIZE);
-       if (!priv->base) {
+       if (!priv->base)
                return -ENOMEM;
-       }
 
        mutex_init(&priv->mutex);