aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeng Yu <yumeng18@huawei.com>2021-03-24 10:03:25 +0800
committerMarcel Holtmann <marcel@holtmann.org>2021-03-24 08:56:24 +0100
commit0f90d320b4f191ad15604495e06a1636027c96ad (patch)
tree98d4f808ed243e9a970fd9cb6a1fca25ee0ca838
parentc29fb5f65072b784717ca16d6f136461d2ee04c4 (diff)
downloadbluetooth-next-0f90d320b4f191ad15604495e06a1636027c96ad.tar.gz
Bluetooth: Remove trailing semicolon in macros
Macros should not use a trailing semicolon. Signed-off-by: Meng Yu <yumeng18@huawei.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
-rw-r--r--net/bluetooth/sco.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c
index 22a110f37abc6..3bd41563f118a 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);