* [PATCH] src: Remove dead assignments in batocomp
@ 2026-06-21 18:15 Arnav Kapoor
2026-06-21 19:56 ` bluez.test.bot
0 siblings, 1 reply; 2+ messages in thread
From: Arnav Kapoor @ 2026-06-21 18:15 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Arnav Kapoor
The return values of udev_hwdb_unref() and udev_unref()
are assigned to local variables that are never read again.
Remove the unnecessary assignments.
Found by scan-build.
---
src/oui.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/oui.c b/src/oui.c
index e20297b93..4d9c3c3e7 100644
--- a/src/oui.c
+++ b/src/oui.c
@@ -47,10 +47,10 @@ char *batocomp(const bdaddr_t *ba)
}
}
- hwdb = udev_hwdb_unref(hwdb);
+ udev_hwdb_unref(hwdb);
done:
- udev = udev_unref(udev);
+ udev_unref(udev);
return comp;
}
--
2.53.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* RE: src: Remove dead assignments in batocomp
2026-06-21 18:15 [PATCH] src: Remove dead assignments in batocomp Arnav Kapoor
@ 2026-06-21 19:56 ` bluez.test.bot
0 siblings, 0 replies; 2+ messages in thread
From: bluez.test.bot @ 2026-06-21 19:56 UTC (permalink / raw)
To: linux-bluetooth, kapoorarnav43
[-- Attachment #1: Type: text/plain, Size: 826 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=1114380
---Test result---
Test Summary:
CheckPatch PASS 0.87 seconds
GitLint PASS 0.54 seconds
BuildEll PASS 20.26 seconds
BluezMake PASS 655.79 seconds
CheckSmatch PASS 354.56 seconds
bluezmakeextell PASS 182.62 seconds
IncrementalBuild PASS 660.77 seconds
ScanBuild PASS 1029.24 seconds
https://github.com/bluez/bluez/pull/2247
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-21 19:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-21 18:15 [PATCH] src: Remove dead assignments in batocomp Arnav Kapoor
2026-06-21 19:56 ` bluez.test.bot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.