diff options
Diffstat (limited to 'net/bluetooth/cmtp/capi.c')
-rw-r--r-- | net/bluetooth/cmtp/capi.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/net/bluetooth/cmtp/capi.c b/net/bluetooth/cmtp/capi.c index cd75e4d64b90..1ca8a87a0787 100644 --- a/net/bluetooth/cmtp/capi.c +++ b/net/bluetooth/cmtp/capi.c | |||
@@ -362,12 +362,6 @@ void cmtp_recv_capimsg(struct cmtp_session *session, struct sk_buff *skb) | |||
362 | CAPIMSG_SETCONTROL(skb->data, contr); | 362 | CAPIMSG_SETCONTROL(skb->data, contr); |
363 | } | 363 | } |
364 | 364 | ||
365 | if (!ctrl) { | ||
366 | BT_ERR("Can't find controller %d for message", session->num); | ||
367 | kfree_skb(skb); | ||
368 | return; | ||
369 | } | ||
370 | |||
371 | capi_ctr_handle_message(ctrl, appl, skb); | 365 | capi_ctr_handle_message(ctrl, appl, skb); |
372 | } | 366 | } |
373 | 367 | ||