staging: imx-drm: remove unnecessary braces
authorSima Baymani <sima.baymani@gmail.com>
Sun, 3 Nov 2013 10:18:57 +0000 (11:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 10 Nov 2013 16:07:20 +0000 (08:07 -0800)
Fix checkpatch warning by removing unnecessary braces.
Compile-tested the single file.

Signed-off-by: Sima Baymani <sima.baymani@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Reviewed-by: Archana Kumari <archanakumari959@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/imx-drm/imx-ldb.c

index 655d0c0..7e59329 100644 (file)
@@ -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)