diff options
Diffstat (limited to 'net/bluetooth/rfcomm/core.c')
| -rw-r--r-- | net/bluetooth/rfcomm/core.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/bluetooth/rfcomm/core.c b/net/bluetooth/rfcomm/core.c index 5d66c1f3abf5..c109a3a225c6 100644 --- a/net/bluetooth/rfcomm/core.c +++ b/net/bluetooth/rfcomm/core.c @@ -1795,8 +1795,6 @@ static inline void rfcomm_process_rx(struct rfcomm_session *s) BT_DBG("session %p state %ld qlen %d", s, s->state, skb_queue_len(&sk->sk_receive_queue)); - rfcomm_session_hold(s); - /* Get data directly from socket receive queue without copying it. */ while ((skb = skb_dequeue(&sk->sk_receive_queue))) { skb_orphan(skb); @@ -1809,8 +1807,6 @@ static inline void rfcomm_process_rx(struct rfcomm_session *s) rfcomm_session_close(s, sk->sk_err); } - - rfcomm_session_put(s); } static inline void rfcomm_accept_connection(struct rfcomm_session *s) |
