[PATCH 3/7] Remove left over comment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Since "138f831 AVRCP: return empty string instead of rejecting" we
return empty strings for all the attributes when there isn't any value
set.
---
 audio/avrcp.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/audio/avrcp.c b/audio/avrcp.c
index c36af5d..058fa83 100644
--- a/audio/avrcp.c
+++ b/audio/avrcp.c
@@ -600,10 +600,6 @@ static uint8_t avrcp_handle_get_element_attributes(struct avrcp_player *player,
 	nattr = pdu->params[8];
 
 	if (!nattr) {
-		/*
-		 * Return all available information, at least
-		 * title must be returned.
-		 */
 		for (i = 1; i < AVRCP_MEDIA_ATTRIBUTE_LAST; i++) {
 			size = player_get_media_attribute(player, i,
 							&pdu->params[pos],
-- 
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux