diff options
| author | Markus Elfring <elfring@users.sourceforge.net> | 2024-10-01 09:21:25 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-12-14 20:03:55 +0100 |
| commit | da561d5fb646097a48577745a684cab246bae836 (patch) | |
| tree | 3966f4c5fe2deff1d7872fa66bf859d31cb16530 /scripts/basic/Makefile | |
| parent | 6e72b117614ce77e543cb7e8ae3d24a330cfa722 (diff) | |
| download | linux-da561d5fb646097a48577745a684cab246bae836.tar.gz linux-da561d5fb646097a48577745a684cab246bae836.tar.bz2 linux-da561d5fb646097a48577745a684cab246bae836.zip | |
Bluetooth: hci_conn: Reduce hci_conn_drop() calls in two functions
[ Upstream commit d96b543c6f3b78b6440b68b5a5bbface553eff28 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/basic/Makefile')
0 files changed, 0 insertions, 0 deletions
