]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Bluetooth: btusb: mediatek: remove the unnecessary goto tag
authorChris Lu <chris.lu@mediatek.com>
Thu, 4 Jul 2024 06:01:09 +0000 (14:01 +0800)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 15 Jul 2024 14:11:37 +0000 (10:11 -0400)
commitbe71dfb9ad2042bba713975ef50c3a5b0429f1d2
tree98bcc977ad376d588368dc246dc901bb49815a54
parent936daee9cf08c5e58c9a0fe687f52adb2d80e87d
Bluetooth: btusb: mediatek: remove the unnecessary goto tag

Remove the unnecessary goto tag whether there is an error or not, we have
to free the buffer at the end of the function.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Chris Lu <chris.lu@mediatek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btusb.c