diff options
-rw-r--r-- | net/bluetooth/hci_event.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 09cb29e8713a..1741936ddacf 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c | |||
@@ -2242,17 +2242,8 @@ static inline void hci_sync_conn_changed_evt(struct hci_dev *hdev, struct sk_buf | |||
2242 | static inline void hci_sniff_subrate_evt(struct hci_dev *hdev, struct sk_buff *skb) | 2242 | static inline void hci_sniff_subrate_evt(struct hci_dev *hdev, struct sk_buff *skb) |
2243 | { | 2243 | { |
2244 | struct hci_ev_sniff_subrate *ev = (void *) skb->data; | 2244 | struct hci_ev_sniff_subrate *ev = (void *) skb->data; |
2245 | struct hci_conn *conn; | ||
2246 | 2245 | ||
2247 | BT_DBG("%s status %d", hdev->name, ev->status); | 2246 | BT_DBG("%s status %d", hdev->name, ev->status); |
2248 | |||
2249 | hci_dev_lock(hdev); | ||
2250 | |||
2251 | conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(ev->handle)); | ||
2252 | if (conn) { | ||
2253 | } | ||
2254 | |||
2255 | hci_dev_unlock(hdev); | ||
2256 | } | 2247 | } |
2257 | 2248 | ||
2258 | static inline void hci_extended_inquiry_result_evt(struct hci_dev *hdev, struct sk_buff *skb) | 2249 | static inline void hci_extended_inquiry_result_evt(struct hci_dev *hdev, struct sk_buff *skb) |