summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2014-07-11 06:19:41 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2014-07-11 12:58:50 +0200
commit2a0dccb3df2c8775d1a6e962aa88c4c22693c887 (patch)
treedc179cc13324bc10194d9ece5a0aa7f14f10a1e3 /include/net/bluetooth
parentBluetooth: Update the list of L2CAP fixed channels (diff)
downloadlinux-2a0dccb3df2c8775d1a6e962aa88c4c22693c887.tar.xz
linux-2a0dccb3df2c8775d1a6e962aa88c4c22693c887.zip
Bluetooth: Move struct sco_pinfo into net/bluetooth/sco.c
There exists no external user of struct sco_pinfo and sco_pi and thus move it into the one place that is actually using it. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/sco.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/net/bluetooth/sco.h b/include/net/bluetooth/sco.h
index 2019d1a0996a..7fec7cbd7396 100644
--- a/include/net/bluetooth/sco.h
+++ b/include/net/bluetooth/sco.h
@@ -64,16 +64,4 @@ struct sco_conn {
#define sco_conn_lock(c) spin_lock(&c->lock);
#define sco_conn_unlock(c) spin_unlock(&c->lock);
-/* ----- SCO socket info ----- */
-#define sco_pi(sk) ((struct sco_pinfo *) sk)
-
-struct sco_pinfo {
- struct bt_sock bt;
- bdaddr_t src;
- bdaddr_t dst;
- __u32 flags;
- __u16 setting;
- struct sco_conn *conn;
-};
-
#endif /* __SCO_H */