From: Fabio Estevam Date: Fri, 28 Jun 2013 16:55:29 +0000 (-0300) Subject: imx-drm: ipu-dp: Remove unneeded braces X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ded15b5af1f05a57badd7ea5a1428d2fec83a215;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git imx-drm: ipu-dp: Remove unneeded braces No need to have braces for a single line 'if' block Signed-off-by: Fabio Estevam Acked-by: Sascha Hauer Acked-by: Philipp Zabel Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/imx-drm/ipu-v3/ipu-dp.c b/drivers/staging/imx-drm/ipu-v3/ipu-dp.c index 04495158398e..6e0e9f1c6517 100644 --- a/drivers/staging/imx-drm/ipu-v3/ipu-dp.c +++ b/drivers/staging/imx-drm/ipu-v3/ipu-dp.c @@ -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);