Bluetooth: Remove src and dst fields from bt_sock structure
Every socket protocol now stores its own address information. So just remove the generic src and dst fields since they are no longer needed. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:

committed by
Johan Hedberg

parent
94a86df010
commit
5f6cd79f47
@@ -218,8 +218,6 @@ void baswap(bdaddr_t *dst, bdaddr_t *src);
|
||||
|
||||
struct bt_sock {
|
||||
struct sock sk;
|
||||
bdaddr_t src;
|
||||
bdaddr_t dst;
|
||||
struct list_head accept_q;
|
||||
struct sock *parent;
|
||||
unsigned long flags;
|
||||
|
Reference in New Issue
Block a user