aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuilong Deng <[email protected]>2021-06-28 19:38:24 -0700
committerLinus Torvalds <[email protected]>2021-06-29 10:53:50 -0700
commit6a1803bb582c50909a7f6cc4153360eaf5ae8fc8 (patch)
tree2499316741b479798dfb8546ae4282c6c6e4abe3
parentc74d40e8b5e2ac5eee1ca45b12d3e174915f1d88 (diff)
mm: memcontrol: remove trailing semicolon in macros
Macros should not use a trailing semicolon. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Huilong Deng <[email protected]> Reviewed-by: Andrew Morton <[email protected]> Reviewed-by: Shakeel Butt <[email protected]> Cc: Roman Gushchin <[email protected]> Cc: Michal Hocko <[email protected]> Cc: Johannes Weiner <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
-rw-r--r--include/linux/memcontrol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
index 1de3859233a6..6d66037be646 100644
--- a/include/linux/memcontrol.h
+++ b/include/linux/memcontrol.h
@@ -192,7 +192,7 @@ enum memcg_kmem_state {
struct memcg_padding {
char x[0];
} ____cacheline_internodealigned_in_smp;
-#define MEMCG_PADDING(name) struct memcg_padding name;
+#define MEMCG_PADDING(name) struct memcg_padding name
#else
#define MEMCG_PADDING(name)
#endif