staging: most: Avoid trailing semicolon for macros
authorRavi Eluri <venkataravi.e@techveda.org>
Fri, 22 Dec 2017 08:25:44 +0000 (13:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:34:25 +0000 (16:34 +0100)
Fixes checkpatch warning:
macros should not use a trailing semicolon.

Signed-off-by: Ravi Eluri <venkataravi.e@techveda.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/core.c

index 5ba2cd5ec1b0b6bf205bffedc210d25a46054661..3dda8d81bf0b4ad224d2a3362b92fff0c5b86189 100644 (file)
@@ -36,7 +36,7 @@ static struct mostcore {
        struct list_head comp_list;
 } mc;
 
-#define to_driver(d) container_of(d, struct mostcore, drv);
+#define to_driver(d) container_of(d, struct mostcore, drv)
 
 struct pipe {
        struct core_component *comp;