Skip to contentSkip to conversation

Bluetooth: Move A2MP_FEAT_EXT declaration into A2MP source

PATCH In review Marcel Holtmann 2 participants 2 messages Feb 14, 2015 – Feb 15, 2015

Subsystems (2)
lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 1/5 Bluetooth: Move A2MP_FEAT_EXT declaration into A2MP source

The A2MP_FEAT_EXT declaration has a single user in a2mp.c and thus just move it there.

---
 net/bluetooth/a2mp.c | 2 ++
 net/bluetooth/a2mp.h | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)
net/bluetooth/a2mp.c +2 -0
index cedfbda15dad..6baa78a4e76c 100644
@@ -19,6 +19,8 @@
 #include "a2mp.h"
 #include "amp.h"
 
+#define A2MP_FEAT_EXT	0x8000
+
 /* Global AMP Manager list */
 LIST_HEAD(amp_mgr_list);
 DEFINE_MUTEX(amp_mgr_list_lock);
net/bluetooth/a2mp.h +0 -2
index 487b54c1308f..5c0a36b7ecc4 100644
@@ -17,8 +17,6 @@
 
 #include <net/bluetooth/l2cap.h>
 
-#define A2MP_FEAT_EXT	0x8000
-
 enum amp_mgr_state {
 	READ_LOC_AMP_INFO,
 	READ_LOC_AMP_ASSOC,
Signature · 1 line
2.1.0
#1 lore raw

Hi Marcel,

Quoted 8 lines · Marcel Holtmann

The A2MP_FEAT_EXT declaration has a single user in a2mp.c and thus just move it there.

---
 net/bluetooth/a2mp.c | 2 ++
 net/bluetooth/a2mp.h | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

All five patches in this set have been applied to bluetooth-next. Thanks.

Johan