Messages in this thread Patch in this message | | | From | Chengyang Fan <> | Subject | [PATCH] mm/memcontrol: Remove unneeded semicolons | Date | Mon, 18 Jan 2021 09:52:29 +0800 |
| |
Remove superfluous semicolons after function definitions.
Signed-off-by: Chengyang Fan <cy.fan@huawei.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
| |