summaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
authorMeng Yu <yumeng18@huawei.com>2021-03-24 03:03:25 +0100
committerMarcel Holtmann <marcel@holtmann.org>2021-03-24 08:56:24 +0100
commit0f90d320b4f191ad15604495e06a1636027c96ad (patch)
tree98d4f808ed243e9a970fd9cb6a1fca25ee0ca838 /net/bluetooth
parentBluetooth: Remove trailing semicolon in macros (diff)
downloadlinux-0f90d320b4f191ad15604495e06a1636027c96ad.tar.xz
linux-0f90d320b4f191ad15604495e06a1636027c96ad.zip
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>
Diffstat (limited to 'net/bluetooth')
-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 22a110f37abc..3bd41563f118 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);