Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e5825f9f authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Bluetooth: Removed unused variables for compilation"

parents a167f66d 96fbb710
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -240,7 +240,6 @@ static void qca_tlv_check_data(struct rome_config *config,
static int qca_tlv_send_segment_optimised(struct hci_dev *hdev,
static int qca_tlv_send_segment_optimised(struct hci_dev *hdev,
			int idx, int seg_size, const u8 *data)
			int idx, int seg_size, const u8 *data)
{
{
	struct hci_uart *hu = hci_get_drvdata(hdev);
	struct sk_buff *skb;
	struct sk_buff *skb;
	u8 param[MAX_SIZE_PER_TLV_SEGMENT + 2];
	u8 param[MAX_SIZE_PER_TLV_SEGMENT + 2];
	int len = HCI_COMMAND_HDR_SIZE + seg_size + 2;
	int len = HCI_COMMAND_HDR_SIZE + seg_size + 2;
@@ -327,7 +326,6 @@ static int hst_tlv_send_segment_sync(struct hci_dev *hdev, int idx,
		err = -EIO;
		err = -EIO;
	}
	}


out:
	kfree_skb(skb);
	kfree_skb(skb);
	return err;
	return err;
}
}
@@ -633,7 +631,6 @@ static void qca_get_bda(struct hci_dev *hdev, const char *str, bdaddr_t *bda)
int qca_uart_setup_rome(struct hci_dev *hdev, uint8_t baudrate,
int qca_uart_setup_rome(struct hci_dev *hdev, uint8_t baudrate,
				qca_enque_send_callback callback)
				qca_enque_send_callback callback)
{
{
	u32 rome_ver = 0;
	struct rome_config config;
	struct rome_config config;
	u32 qca_ver = 0;
	u32 qca_ver = 0;
	int err;
	int err;