Diff between 55aad6d0ed633f9a8d47a2fa23619e6ce6b21997 and 1539ff9dd6862f22cb4a1e760104e088aea70ad1

Changed Files

File Additions Deletions Status
profiles/audio/avrcp.c +1 -1 modified

Full Patch

diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c
index 53170ec..24deac5 100644
--- a/profiles/audio/avrcp.c
+++ b/profiles/audio/avrcp.c
@@ -1946,7 +1946,7 @@ static void avrcp_handle_get_folder_items(struct avrcp *session,
 	uint8_t scope;
 	uint8_t status = AVRCP_STATUS_SUCCESS;
 
-	if (!pdu || ntohs(pdu->param_len) < 10) {
+	if (ntohs(pdu->param_len) < 10) {
 		status = AVRCP_STATUS_INVALID_PARAM;
 		goto failed;
 	}