Bluetooth: mgmt: Remove unneeded variable
authorMinghao Chi <chi.minghao@zte.com.cn>
Tue, 18 Jan 2022 07:50:33 +0000 (07:50 +0000)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 1 Feb 2022 20:35:13 +0000 (12:35 -0800)
commit25c7e34ec8d2d1edd8b86c91c56e2d1d8178870b
tree792d7a6e516320830b7d6edc4908fc1d1cbbd949
parentad555648a10bbb90a7762c6e4779d597b5d09e08
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