drm/tinydrm: fix semicolon.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Thu, 23 Feb 2017 16:46:48 +0000 (00:46 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Sun, 26 Feb 2017 21:55:41 +0000 (22:55 +0100)
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c:454: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/20170223164647.GA2519@lkp-ws02
drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c

index 3ccda6c1e159365b89825edf927af6a56e1e45d3..d4cda3308ac72b4a1d1858a16b98a8b3d214da3d 100644 (file)
@@ -451,7 +451,7 @@ int tinydrm_spi_transfer(struct spi_device *spi, u32 speed_hz,
                ret = spi_sync(spi, &m);
                if (ret)
                        return ret;
-       };
+       }
 
        return 0;
 }