X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-linux.git;a=blobdiff_plain;f=net%2Fbluetooth%2Fhci_core.c;h=e837539452fb0e2880d8335da7769752a3b08110;hp=adcbc74c243268e8330bf760c39fa792a1c2a3a8;hb=d63a9788650fcd999b34584316afee6bd4378f19;hpb=99bc7215bc60f6cd414cf1b85cd9d52cc596cccb diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index adcbc74c2432..e837539452fb 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c @@ -2861,13 +2861,6 @@ struct hci_conn_params *hci_explicit_connect_lookup(struct hci_dev *hdev, return param; } - list_for_each_entry(param, &hdev->pend_le_reports, action) { - if (bacmp(¶m->addr, addr) == 0 && - param->addr_type == addr_type && - param->explicit_connect) - return param; - } - return NULL; }