Diff between cf9bd782b2470b5dd4ce9c4be438bda9d486ebe9 and 080feb1170c8e352e6942ce1bfb4b96825b75db0

Changed Files

File Additions Deletions Status
android/avrcp-lib.c +0 -7 modified

Full Patch

diff --git a/android/avrcp-lib.c b/android/avrcp-lib.c
index ef0f882..dc3852b 100644
--- a/android/avrcp-lib.c
+++ b/android/avrcp-lib.c
@@ -100,9 +100,6 @@ struct avrcp {
 	struct avctp *conn;
 	struct avrcp_player *player;
 
-	size_t tx_mtu;
-	uint8_t *tx_buf;
-
 	const struct avrcp_control_handler *control_handlers;
 	void *control_data;
 	unsigned int control_id;
@@ -157,7 +154,6 @@ void avrcp_shutdown(struct avrcp *session)
 		session->destroy(session->destroy_data);
 
 	g_free(session->player);
-	g_free(session->tx_buf);
 	g_free(session);
 }
 
@@ -336,9 +332,6 @@ struct avrcp *avrcp_new(int fd, size_t imtu, size_t omtu, uint16_t version)
 		return NULL;
 	}
 
-	session->tx_mtu = omtu;
-	session->tx_buf = g_malloc(omtu);
-
 	session->passthrough_id = avctp_register_passthrough_handler(
 							session->conn,
 							handle_passthrough_pdu,