[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210118015229.2599778-1-cy.fan@huawei.com>
Date: Mon, 18 Jan 2021 09:52:29 +0800
From: Chengyang Fan <cy.fan@...wei.com>
To: <akpm@...ux-foundation.org>
CC: <richard.weiyang@...il.com>, <linux-kernel@...r.kernel.org>
Subject: [PATCH] mm/memcontrol: Remove unneeded semicolons
Remove superfluous semicolons after function definitions.
Signed-off-by: Chengyang Fan <cy.fan@...wei.com>
---
include/linux/memcontrol.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/memcontrol.h b/include/linux/memcontrol.h
index d827bd7f3bfe..77802cc217ff 100644
--- a/include/linux/memcontrol.h
+++ b/include/linux/memcontrol.h
@@ -1587,8 +1587,8 @@ extern void memcg_set_shrinker_bit(struct mem_cgroup *memcg,
int nid, int shrinker_id);
#else
#define mem_cgroup_sockets_enabled 0
-static inline void mem_cgroup_sk_alloc(struct sock *sk) { };
-static inline void mem_cgroup_sk_free(struct sock *sk) { };
+static inline void mem_cgroup_sk_alloc(struct sock *sk) { }
+static inline void mem_cgroup_sk_free(struct sock *sk) { }
static inline bool mem_cgroup_under_socket_pressure(struct mem_cgroup *memcg)
{
return false;
--
2.25.1
Powered by blists - more mailing lists