瀏覽代碼

Bluetooth: Clean up ath3k_load_firmware()

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Gustavo F. Padovan 14 年之前
父節點
當前提交
0733119c0b
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      drivers/bluetooth/ath3k.c

+ 0 - 3
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;