Skip to content

Commit

Permalink
Bluetooth: Remove trailing semicolon in macros
Browse files Browse the repository at this point in the history
Macros should not use a trailing semicolon.

Signed-off-by: Meng Yu <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
  • Loading branch information
yumeng0117 authored and holtmann committed Mar 24, 2021
1 parent c29fb5f commit 0f90d32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/bluetooth/sco.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0f90d32

Please sign in to comment.