* [PATCH] bluetooth: btrsi: remove unnecessary module_init/exit functions
@ 2026-01-31 2:00 Ethan Nelson-Moore
2026-01-31 3:57 ` bluez.test.bot
0 siblings, 1 reply; 2+ messages in thread
From: Ethan Nelson-Moore @ 2026-01-31 2:00 UTC (permalink / raw)
To: linux-bluetooth
Cc: Ethan Nelson-Moore, Marcel Holtmann, Luiz Augusto von Dentz
The btrsi driver has unnecessary empty module_init and
module_exit functions. Remove them. Note that if a module_init function
exists, a module_exit function must also exist; otherwise, the module
cannot be unloaded.
Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
---
drivers/bluetooth/btrsi.c | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/drivers/bluetooth/btrsi.c b/drivers/bluetooth/btrsi.c
index 6c1f584c8a33..527a95d943ad 100644
--- a/drivers/bluetooth/btrsi.c
+++ b/drivers/bluetooth/btrsi.c
@@ -178,18 +178,6 @@ const struct rsi_mod_ops rsi_bt_ops = {
};
EXPORT_SYMBOL(rsi_bt_ops);
-static int rsi_91x_bt_module_init(void)
-{
- return 0;
-}
-
-static void rsi_91x_bt_module_exit(void)
-{
- return;
-}
-
-module_init(rsi_91x_bt_module_init);
-module_exit(rsi_91x_bt_module_exit);
MODULE_AUTHOR("Redpine Signals Inc");
MODULE_DESCRIPTION("RSI BT driver");
MODULE_LICENSE("Dual BSD/GPL");
--
2.43.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* RE: bluetooth: btrsi: remove unnecessary module_init/exit functions
2026-01-31 2:00 [PATCH] bluetooth: btrsi: remove unnecessary module_init/exit functions Ethan Nelson-Moore
@ 2026-01-31 3:57 ` bluez.test.bot
0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2026-01-31 3:57 UTC (permalink / raw)
To: linux-bluetooth, enelsonmoore
[-- Attachment #1: Type: text/plain, Size: 2760 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=1049197
---Test result---
Test Summary:
CheckPatch PENDING 0.29 seconds
GitLint PENDING 0.25 seconds
SubjectPrefix FAIL 0.35 seconds
BuildKernel PASS 24.15 seconds
CheckAllWarning PASS 26.49 seconds
CheckSparse PASS 29.88 seconds
BuildKernel32 PASS 23.53 seconds
TestRunnerSetup PASS 522.56 seconds
TestRunner_l2cap-tester PASS 26.68 seconds
TestRunner_iso-tester PASS 71.85 seconds
TestRunner_bnep-tester PASS 5.90 seconds
TestRunner_mgmt-tester FAIL 111.96 seconds
TestRunner_rfcomm-tester PASS 8.98 seconds
TestRunner_sco-tester FAIL 13.63 seconds
TestRunner_ioctl-tester PASS 12.18 seconds
TestRunner_mesh-tester FAIL 11.37 seconds
TestRunner_smp-tester PASS 8.20 seconds
TestRunner_userchan-tester PASS 6.38 seconds
IncrementalBuild PENDING 0.70 seconds
Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:
##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:
##############################
Test: SubjectPrefix - FAIL
Desc: Check subject contains "Bluetooth" prefix
Output:
"Bluetooth: " prefix is not specified in the subject
##############################
Test: TestRunner_mgmt-tester - FAIL
Desc: Run mgmt-tester with test-runner
Output:
Total: 494, Passed: 489 (99.0%), Failed: 1, Not Run: 4
Failed Test Cases
Read Exp Feature - Success Failed 0.099 seconds
##############################
Test: TestRunner_sco-tester - FAIL
Desc: Run sco-tester with test-runner
Output:
WARNING: possible circular locking dependency detected
BUG: sleeping function called from invalid context at net/core/sock.c:3782
Total: 30, Passed: 30 (100.0%), Failed: 0, Not Run: 0
##############################
Test: TestRunner_mesh-tester - FAIL
Desc: Run mesh-tester with test-runner
Output:
Total: 10, Passed: 8 (80.0%), Failed: 2, Not Run: 0
Failed Test Cases
Mesh - Send cancel - 1 Timed out 2.161 seconds
Mesh - Send cancel - 2 Timed out 1.996 seconds
##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series
Output:
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-31 3:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-31 2:00 [PATCH] bluetooth: btrsi: remove unnecessary module_init/exit functions Ethan Nelson-Moore
2026-01-31 3:57 ` bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox