Skip to contentSkip to conversation

staging: most: Avoid trailing semicolon for macros

PATCH New [email protected] 1 participant 1 message Dec 22, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: most: Avoid trailing semicolon for macros

From: Ravi Eluri <[email protected]>

Fixes checkpatch warning:
macros should not use a trailing semicolon.

---
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(-)
drivers/staging/most/core.c +1 -1
index 5ba2cd5..3dda8d8 100644
@@ -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;
Signature · 1 line
1.9.1