platform/x86: mlx-platform: Fix semicolon.cocci warnings
authorkbuild test robot <lkp@intel.com>
Thu, 27 Oct 2016 17:26:50 +0000 (01:26 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 16 Dec 2016 21:30:25 +0000 (23:30 +0200)
drivers/platform/x86/mlx-platform.c:219:2-3: Unneeded semicolon

 Remove unneeded semicolon.

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

CC: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/mlx-platform.c

index bbf60d1..cb6199e 100644 (file)
@@ -215,7 +215,7 @@ static int __init mlxplat_init(void)
        if (IS_ERR(priv->pdev_i2c)) {
                err = PTR_ERR(priv->pdev_i2c);
                goto fail_alloc;
-       };
+       }
 
        for (i = 0; i < ARRAY_SIZE(mlxplat_mux_data); i++) {
                priv->pdev_mux[i] = platform_device_register_resndata(