Bluetooth: Clean up ath3k_load_firmware()
authorGustavo F. Padovan <padovan@profusion.mobi>
Wed, 6 Apr 2011 01:29:31 +0000 (22:29 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 13 Apr 2011 15:20:01 +0000 (12:20 -0300)
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
drivers/bluetooth/ath3k.c

index 5577ed6..695d441 100644 (file)
@@ -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;