summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/ath3k.c
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-04-05 22:29:31 -0300
committerGustavo F. Padovan <padovan@profusion.mobi>2011-04-13 12:20:01 -0300
commit0733119c0bed37eda4bb832d049939a0dc53a233 (patch)
treebc2df8e1c38481e02825798e669af127ec6a0c7f /drivers/bluetooth/ath3k.c
parentcd69a03af1106c486033df600c7945957ea5abeb (diff)
downloadlinux-3.10-0733119c0bed37eda4bb832d049939a0dc53a233.tar.gz
linux-3.10-0733119c0bed37eda4bb832d049939a0dc53a233.tar.bz2
linux-3.10-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 5577ed656e2..695d4414bd4 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;