diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2013-10-13 13:34:03 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-10-13 14:11:25 -0400 |
commit | 5f6cd79f477743cab98fd49feb03a39e0138b32f (patch) | |
tree | 8e017e86aee8c7ea7ca4f11afe7585a6a214a1cd /net/bluetooth/af_bluetooth.c | |
parent | 94a86df01082557e2de45865e538d7fb6c46231c (diff) |
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>
Diffstat (limited to 'net/bluetooth/af_bluetooth.c')
-rw-r--r-- | net/bluetooth/af_bluetooth.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/bluetooth/af_bluetooth.c b/net/bluetooth/af_bluetooth.c index e6e1278dca89..9c7e4edc6504 100644 --- a/net/bluetooth/af_bluetooth.c +++ b/net/bluetooth/af_bluetooth.c | |||
@@ -617,15 +617,13 @@ static int bt_seq_show(struct seq_file *seq, void *v) | |||
617 | struct bt_sock *bt = bt_sk(sk); | 617 | struct bt_sock *bt = bt_sk(sk); |
618 | 618 | ||
619 | seq_printf(seq, | 619 | seq_printf(seq, |
620 | "%pK %-6d %-6u %-6u %-6u %-6lu %pMR %pMR %-6lu", | 620 | "%pK %-6d %-6u %-6u %-6u %-6lu %-6lu", |
621 | sk, | 621 | sk, |
622 | atomic_read(&sk->sk_refcnt), | 622 | atomic_read(&sk->sk_refcnt), |
623 | sk_rmem_alloc_get(sk), | 623 | sk_rmem_alloc_get(sk), |
624 | sk_wmem_alloc_get(sk), | 624 | sk_wmem_alloc_get(sk), |
625 | from_kuid(seq_user_ns(seq), sock_i_uid(sk)), | 625 | from_kuid(seq_user_ns(seq), sock_i_uid(sk)), |
626 | sock_i_ino(sk), | 626 | sock_i_ino(sk), |
627 | &bt->src, | ||
628 | &bt->dst, | ||
629 | bt->parent? sock_i_ino(bt->parent): 0LU); | 627 | bt->parent? sock_i_ino(bt->parent): 0LU); |
630 | 628 | ||
631 | if (l->custom_seq_show) { | 629 | if (l->custom_seq_show) { |