From: Gustavo F. Padovan Date: Wed, 6 Apr 2011 01:29:31 +0000 (-0300) Subject: Bluetooth: Clean up ath3k_load_firmware() X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=0733119c0bed37eda4bb832d049939a0dc53a233;p=deliverable%2Flinux.git Bluetooth: Clean up ath3k_load_firmware() Signed-off-by: Gustavo F. Padovan --- diff --git a/drivers/bluetooth/ath3k.c b/drivers/bluetooth/ath3k.c index 5577ed656e2f..695d4414bd4c 100644 --- a/drivers/bluetooth/ath3k.c +++ b/drivers/bluetooth/ath3k.c @@ -138,9 +138,6 @@ static int ath3k_load_firmware(struct usb_device *udev, count -= size; } - kfree(send_buf); - return 0; - error: kfree(send_buf); return err;