]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: ISO: Clean up returns values in iso_connect_ind()
authorDan Carpenter <dan.carpenter@linaro.org>
Sat, 2 Mar 2024 08:30:43 +0000 (11:30 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2024 07:49:30 +0000 (09:49 +0200)
commit576255fa8accf4c42fdc89d152e5e9ce881efc07
tree9677f7e1ef19a4362e880f1c4f2d58f3e1b3fab9
parenta6c3af0a620082d191dabc69c4925b3e6c26dd48
Bluetooth: ISO: Clean up returns values in iso_connect_ind()

[ Upstream commit 18d88f0fd8c0fade7ae08c2778d6c6447b11f16a ]

This function either returns 0 or HCI_LM_ACCEPT.  Make it clearer which
returns are which and delete the "lm" variable because it is no longer
required.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Stable-dep-of: a5b862c6a221 ("Bluetooth: L2CAP: Fix div-by-zero in l2cap_le_flowctl_init()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/iso.c