OSDN Git Service

Bluetooth: Remove trailing semicolon in macros
authorMeng Yu <yumeng18@huawei.com>
Wed, 24 Mar 2021 02:03:25 +0000 (10:03 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 24 Mar 2021 07:56:24 +0000 (08:56 +0100)
Macros should not use a trailing semicolon.

Signed-off-by: Meng Yu <yumeng18@huawei.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/sco.c

index 22a110f..3bd4156 100644 (file)
@@ -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);