* [PATCH net-next] Bluetooth: Remove hci_conn_hash_lookup_state()
@ 2025-06-20 7:03 Yue Haibing
2025-06-20 7:10 ` [net-next] " bluez.test.bot
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Yue Haibing @ 2025-06-20 7:03 UTC (permalink / raw)
To: marcel, johan.hedberg, luiz.dentz, davem, edumazet, kuba, pabeni,
horms
Cc: linux-bluetooth, netdev, linux-kernel, yuehaibing
Since commit 4aa42119d971 ("Bluetooth: Remove pending ACL connection
attempts") this function is unused.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
include/net/bluetooth/hci_core.h | 20 --------------------
1 file changed, 20 deletions(-)
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index a760f05fa3fb..939eba829fed 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1415,26 +1415,6 @@ hci_conn_hash_lookup_pa_sync_handle(struct hci_dev *hdev, __u16 sync_handle)
return NULL;
}
-static inline struct hci_conn *hci_conn_hash_lookup_state(struct hci_dev *hdev,
- __u8 type, __u16 state)
-{
- struct hci_conn_hash *h = &hdev->conn_hash;
- struct hci_conn *c;
-
- rcu_read_lock();
-
- list_for_each_entry_rcu(c, &h->list, list) {
- if (c->type == type && c->state == state) {
- rcu_read_unlock();
- return c;
- }
- }
-
- rcu_read_unlock();
-
- return NULL;
-}
-
typedef void (*hci_conn_func_t)(struct hci_conn *conn, void *data);
static inline void hci_conn_hash_list_state(struct hci_dev *hdev,
hci_conn_func_t func, __u8 type,
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* RE: [net-next] Bluetooth: Remove hci_conn_hash_lookup_state()
2025-06-20 7:03 [PATCH net-next] Bluetooth: Remove hci_conn_hash_lookup_state() Yue Haibing
@ 2025-06-20 7:10 ` bluez.test.bot
2025-06-20 13:20 ` [PATCH net-next] " Simon Horman
2025-06-23 19:10 ` patchwork-bot+bluetooth
2 siblings, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2025-06-20 7:10 UTC (permalink / raw)
To: linux-bluetooth, yuehaibing
[-- Attachment #1: Type: text/plain, Size: 2030 bytes --]
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=974106
---Test result---
Test Summary:
CheckPatch PENDING 0.37 seconds
GitLint PENDING 0.28 seconds
SubjectPrefix PASS 0.06 seconds
BuildKernel PASS 24.47 seconds
CheckAllWarning PASS 28.75 seconds
CheckSparse PASS 30.74 seconds
BuildKernel32 PASS 24.61 seconds
TestRunnerSetup PASS 480.21 seconds
TestRunner_l2cap-tester PASS 25.48 seconds
TestRunner_iso-tester PASS 40.38 seconds
TestRunner_bnep-tester PASS 5.94 seconds
TestRunner_mgmt-tester FAIL 133.27 seconds
TestRunner_rfcomm-tester PASS 9.29 seconds
TestRunner_sco-tester PASS 14.83 seconds
TestRunner_ioctl-tester PASS 10.14 seconds
TestRunner_mesh-tester PASS 7.56 seconds
TestRunner_smp-tester PASS 8.69 seconds
TestRunner_userchan-tester PASS 6.33 seconds
IncrementalBuild PENDING 0.85 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner
Output:
Total: 490, Passed: 484 (98.8%), Failed: 2, Not Run: 4
Failed Test Cases
LL Privacy - Add Device 2 (2 Devices to AL) Failed 0.207 seconds
LL Privacy - Set Flags 1 (Add to RL) Failed 0.175 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] Bluetooth: Remove hci_conn_hash_lookup_state()
2025-06-20 7:03 [PATCH net-next] Bluetooth: Remove hci_conn_hash_lookup_state() Yue Haibing
2025-06-20 7:10 ` [net-next] " bluez.test.bot
@ 2025-06-20 13:20 ` Simon Horman
2025-06-23 19:10 ` patchwork-bot+bluetooth
2 siblings, 0 replies; 4+ messages in thread
From: Simon Horman @ 2025-06-20 13:20 UTC (permalink / raw)
To: Yue Haibing
Cc: marcel, johan.hedberg, luiz.dentz, davem, edumazet, kuba, pabeni,
linux-bluetooth, netdev, linux-kernel
On Fri, Jun 20, 2025 at 03:03:45PM +0800, Yue Haibing wrote:
> Since commit 4aa42119d971 ("Bluetooth: Remove pending ACL connection
> attempts") this function is unused.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH net-next] Bluetooth: Remove hci_conn_hash_lookup_state()
2025-06-20 7:03 [PATCH net-next] Bluetooth: Remove hci_conn_hash_lookup_state() Yue Haibing
2025-06-20 7:10 ` [net-next] " bluez.test.bot
2025-06-20 13:20 ` [PATCH net-next] " Simon Horman
@ 2025-06-23 19:10 ` patchwork-bot+bluetooth
2 siblings, 0 replies; 4+ messages in thread
From: patchwork-bot+bluetooth @ 2025-06-23 19:10 UTC (permalink / raw)
To: Yue Haibing
Cc: marcel, johan.hedberg, luiz.dentz, davem, edumazet, kuba, pabeni,
horms, linux-bluetooth, netdev, linux-kernel
Hello:
This patch was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:
On Fri, 20 Jun 2025 15:03:45 +0800 you wrote:
> Since commit 4aa42119d971 ("Bluetooth: Remove pending ACL connection
> attempts") this function is unused.
>
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
> include/net/bluetooth/hci_core.h | 20 --------------------
> 1 file changed, 20 deletions(-)
Here is the summary with links:
- [net-next] Bluetooth: Remove hci_conn_hash_lookup_state()
https://git.kernel.org/bluetooth/bluetooth-next/c/542f4736837d
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-06-23 19:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-20 7:03 [PATCH net-next] Bluetooth: Remove hci_conn_hash_lookup_state() Yue Haibing
2025-06-20 7:10 ` [net-next] " bluez.test.bot
2025-06-20 13:20 ` [PATCH net-next] " Simon Horman
2025-06-23 19:10 ` patchwork-bot+bluetooth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox