summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/ath3k.c
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-04-06 03:29:31 +0200
committerGustavo F. Padovan <padovan@profusion.mobi>2011-04-13 17:20:01 +0200
commit0733119c0bed37eda4bb832d049939a0dc53a233 (patch)
treebc2df8e1c38481e02825798e669af127ec6a0c7f /drivers/bluetooth/ath3k.c
parentBluetooth: Fix wrong comparison in listen() (diff)
downloadlinux-0733119c0bed37eda4bb832d049939a0dc53a233.tar.xz
linux-0733119c0bed37eda4bb832d049939a0dc53a233.zip
Bluetooth: Clean up ath3k_load_firmware()
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'drivers/bluetooth/ath3k.c')
-rw-r--r--drivers/bluetooth/ath3k.c3
1 files changed, 0 insertions, 3 deletions
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;