From: Meng Yu Date: Wed, 24 Mar 2021 02:03:25 +0000 (+0800) Subject: Bluetooth: Remove trailing semicolon in macros X-Git-Tag: howlett/maple/20220722_2~3257^2~197^2~30 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=0f90d320b4f191ad15604495e06a1636027c96ad;p=users%2Fjedix%2Flinux-maple.git Bluetooth: Remove trailing semicolon in macros Macros should not use a trailing semicolon. Signed-off-by: Meng Yu Signed-off-by: Marcel Holtmann --- 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);