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 5577ed656e2f108e565e1d4fee1db4365eeef6e6..695d4414bd4c31f060fc0cef81daad90de36a1f9 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;