]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: mgmt: Remove unneeded variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 18 Jan 2022 07:50:33 +0000 (07:50 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 4 Mar 2022 15:10:49 +0000 (16:10 +0100)
commit214bdbe31e8b03be0510b50fceac1bdafa5795d7
tree02962d21216c44196359bc0ff829c9c454583183
parent17191aeb596d5d4700f4d4bb1f6425602a542dd6
Bluetooth: mgmt: Remove unneeded variable

Return value from mgmt_cmd_complete() directly instead
of taking this in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Minghao Chi <chi.minghao@zte.com.cn>
Signed-off-by: CGEL ZTE <cgel.zte@gmail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/mgmt.c