diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2024-10-01 09:21:25 +0200 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-11-14 15:27:47 -0500 |
| commit | d96b543c6f3b78b6440b68b5a5bbface553eff28 (patch) | |
| tree | 653450c8c8d4eddd50d48ae5b821912de981cbe6 /tools/perf/scripts/python | |
| parent | Bluetooth: btnxpuart: Rename IW615 to IW610 (diff) | |
| download | linux-d96b543c6f3b78b6440b68b5a5bbface553eff28.tar.gz linux-d96b543c6f3b78b6440b68b5a5bbface553eff28.zip | |
Bluetooth: hci_conn: Reduce hci_conn_drop() calls in two functions
An hci_conn_drop() call was immediately used after a null pointer check
for an hci_conn_link() call in two function implementations.
Thus call such a function only once instead directly before the checks.
This issue was transformed by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
