Diff between 9287efd2beb82eb40e55c86522a9bdfa54e55053 and bf672a2808513c94a59bc891277a6e2d50aaee08

Changed Files

File Additions Deletions Status
monitor/avctp.c +2 -4 modified

Full Patch

diff --git a/monitor/avctp.c b/monitor/avctp.c
index 9eeac7f..4f87837 100644
--- a/monitor/avctp.c
+++ b/monitor/avctp.c
@@ -590,16 +590,14 @@ static void avrcp_pdu_packet(const struct l2cap_frame *frame, uint8_t ctype,
 	uint16_t len;
 	int i;
 	const struct avrcp_ctrl_pdu_data *ctrl_pdu_data = NULL;
-	const char *ctrl_pdu_data_color;
 	struct l2cap_frame avrcp_frame;
 
 	pduid = *((uint8_t *) frame->data);
 	pt = *((uint8_t *) (frame->data + 1));
 	len = get_be16(frame->data + 2);
 
-	print_indent(indent, ctrl_pdu_data_color, "AVRCP: ", pdu2str(pduid),
-						COLOR_OFF, " pt %s len 0x%04x",
-						pt2str(pt), len);
+	print_indent(indent, COLOR_OFF, "AVRCP: ", pdu2str(pduid), COLOR_OFF,
+					" pt %s len 0x%04x", pt2str(pt), len);
 
 	if ((frame->size < 4) || ((frame->size - 4) != len)) {
 		print_text(COLOR_ERROR, "PDU malformed");