From: Chengyang Fan <cy.fan@huawei.com>
To: <akpm@linux-foundation.org>
Cc: <richard.weiyang@gmail.com>, <linux-kernel@vger.kernel.org>
Subject: [PATCH] mm/memcontrol: Remove unneeded semicolons
Date: Mon, 18 Jan 2021 09:52:29 +0800 [thread overview]
Message-ID: <20210118015229.2599778-1-cy.fan@huawei.com> (raw)
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
next reply other threads:[~2021-01-18 1:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-18 1:52 Chengyang Fan [this message]
2021-01-18 2:09 ` Joe Perches
2021-01-18 3:18 ` Chengyang Fan
2021-01-18 7:03 ` Joe Perches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210118015229.2599778-1-cy.fan@huawei.com \
--to=cy.fan@huawei.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=richard.weiyang@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®