bluetooth: btrsi: remove unnecessary module_init/exit functions
PATCH 1/1 bluetooth: btrsi: remove unnecessary module_init/exit functions
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.
--- drivers/bluetooth/btrsi.c | 12 ------------ 1 file changed, 12 deletions(-)
drivers/bluetooth/btrsi.c +0 -12
@@ -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" );
Signature · 1 line
2.43.0
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