[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1616551405-41488-1-git-send-email-yumeng18@huawei.com>
Date: Wed, 24 Mar 2021 10:03:25 +0800
From: Meng Yu <yumeng18@...wei.com>
To: <marcel@...tmann.org>, <johan.hedberg@...il.com>,
<luiz.dentz@...il.com>
CC: <linux-bluetooth@...r.kernel.org>, <yumeng18@...wei.com>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH v2] Bluetooth: SCO - Remove trailing semicolon in macros
Macros should not use a trailing semicolon.
Signed-off-by: Meng Yu <yumeng18@...wei.com>
---
Changes in v2
-Modify comments
net/bluetooth/sco.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c
index 22a110f..3bd4156 100644
--- a/net/bluetooth/sco.c
+++ b/net/bluetooth/sco.c
@@ -51,8 +51,8 @@ struct sco_conn {
unsigned int mtu;
};
-#define sco_conn_lock(c) spin_lock(&c->lock);
-#define sco_conn_unlock(c) spin_unlock(&c->lock);
+#define sco_conn_lock(c) spin_lock(&c->lock)
+#define sco_conn_unlock(c) spin_unlock(&c->lock)
static void sco_sock_close(struct sock *sk);
static void sco_sock_kill(struct sock *sk);
--
2.8.1
Powered by blists - more mailing lists