From: Sima Baymani Date: Sun, 3 Nov 2013 10:18:57 +0000 (+0100) Subject: staging: imx-drm: remove unnecessary braces X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=49f4a9c81c1a83854ddf9510b92199368262abb2;p=linux-beck.git staging: imx-drm: remove unnecessary braces Fix checkpatch warning by removing unnecessary braces. Compile-tested the single file. Signed-off-by: Sima Baymani Reviewed-by: Josh Triplett Reviewed-by: Archana Kumari Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/imx-drm/imx-ldb.c b/drivers/staging/imx-drm/imx-ldb.c index 655d0c0f4ace..7e593296ac47 100644 --- a/drivers/staging/imx-drm/imx-ldb.c +++ b/drivers/staging/imx-drm/imx-ldb.c @@ -167,9 +167,8 @@ static void imx_ldb_set_clock(struct imx_ldb *ldb, int mux, int chno, /* set display clock mux to LDB input clock */ ret = clk_set_parent(ldb->clk_sel[mux], ldb->clk[chno]); - if (ret) { + if (ret) dev_err(ldb->dev, "unable to set di%d parent clock to ldb_di%d\n", mux, chno); - } } static void imx_ldb_encoder_prepare(struct drm_encoder *encoder)