drm/tinydrm: fix semicolon.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Sun, 12 Mar 2017 14:46:36 +0000 (22:46 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 Mar 2017 09:11:09 +0000 (10:11 +0100)
drivers/gpu/drm/tinydrm/mipi-dbi.c:657:2-3: Unneeded semicolon
drivers/gpu/drm/tinydrm/mipi-dbi.c:593:2-3: Unneeded semicolon

 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20170312144636.GA91808@lkp-g5.lkp.intel.com
drivers/gpu/drm/tinydrm/mipi-dbi.c

index 2d21b49..856416c 100644 (file)
@@ -590,7 +590,7 @@ static int mipi_dbi_spi1e_transfer(struct mipi_dbi *mipi, int dc,
                ret = spi_sync(spi, &m);
                if (ret)
                        return ret;
-       };
+       }
 
        return 0;
 }
@@ -654,7 +654,7 @@ static int mipi_dbi_spi1_transfer(struct mipi_dbi *mipi, int dc,
                ret = spi_sync(spi, &m);
                if (ret)
                        return ret;
-       };
+       }
 
        return 0;
 }