Bluetooth: Move A2MP_FEAT_EXT declaration into A2MP source
Subsystems (2)
Marcel Holtmann
maintainerPATCH 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.
Signed-off-by Marcel Holtmann <[email protected]>
--- net/bluetooth/a2mp.c | 2 ++ net/bluetooth/a2mp.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-)
net/bluetooth/a2mp.c +2 -0
@@ -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
@@ -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
Hi Marcel,
Quoted 8 lines · Marcel Holtmann
The
A2MP_FEAT_EXTdeclaration has a single user ina2mp.cand thus just move it there.Signed-off-by Marcel Holtmann <[email protected]>--- 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