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 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 8c52d2f8dc98e6acac253dbf69a690c7026fb0a6 (diff) |
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 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions