]> 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)
commita5be35305c47be65453e9225f515f6ec5d0472ec
tree02962d21216c44196359bc0ff829c9c454583183
parent4ee14e6f05ded1f903b2ede2f621716ebc0e1c5b
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