diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-02-14 13:36:07 -0800 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-02-15 10:14:54 +0200 |
commit | 87e2a020cac29fba4a35e681392ba0d1f7e21ba9 (patch) | |
tree | 391282acddcca40177102a39b1d27600270ec04d /net/bluetooth/a2mp.c | |
parent | bc333cc4659b2f4614783154aca638a2adcf1264 (diff) | |
download | op-kernel-dev-87e2a020cac29fba4a35e681392ba0d1f7e21ba9.zip op-kernel-dev-87e2a020cac29fba4a35e681392ba0d1f7e21ba9.tar.gz |
Bluetooth: Make __next_ident function static.
The __next_ident function is a local function and so do not export it
and make it static.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/a2mp.c')
-rw-r--r-- | net/bluetooth/a2mp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/a2mp.c b/net/bluetooth/a2mp.c index cfc8fe1..5a04eb1 100644 --- a/net/bluetooth/a2mp.c +++ b/net/bluetooth/a2mp.c @@ -69,7 +69,7 @@ static void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *dat kfree(cmd); } -u8 __next_ident(struct amp_mgr *mgr) +static u8 __next_ident(struct amp_mgr *mgr) { if (++mgr->ident == 0) mgr->ident = 1; |