[PATCH] staging: most: Avoid trailing semicolon for macros
From: venkataravi . e
Date: Fri Dec 22 2017 - 03:26:01 EST
From: Ravi Eluri <venkataravi.e@xxxxxxxxxxxx>
Fixes checkpatch warning:
macros should not use a trailing semicolon.
Signed-off-by: Ravi Eluri <venkataravi.e@xxxxxxxxxxxx>
---
Note:
- Patch was compile tested and built(ARCH=arm) on linux-next
(latest).
- No build issues reported.
---
drivers/staging/most/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/most/core.c b/drivers/staging/most/core.c
index 5ba2cd5..3dda8d8 100644
--- a/drivers/staging/most/core.c
+++ b/drivers/staging/most/core.c
@@ -36,7 +36,7 @@
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;
--
1.9.1