projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c29fb5f
)
Bluetooth: Remove trailing semicolon in macros
author
Meng Yu
<yumeng18@huawei.com>
Wed, 24 Mar 2021 02:03:25 +0000
(10:03 +0800)
committer
Marcel 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
patch
|
blob
|
blame
|
history
diff --git
a/net/bluetooth/sco.c
b/net/bluetooth/sco.c
index 22a110f37abc6b73efb01eeae55d8d86d8d03451..3bd41563f118ac1231f7647cfc31031d08ec4856 100644
(file)
--- 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);