X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=net%2Fbluetooth%2Fhci_core.c;h=e837539452fb0e2880d8335da7769752a3b08110;hb=95fc00a4e15e804356d01c1c53c7da3d99a94f20;hp=adcbc74c243268e8330bf760c39fa792a1c2a3a8;hpb=175d58cfed70f132b8d4df39e19267ad6094bd16;p=karo-tx-linux.git 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; }