milan-avb: cmds-get-set-name: fix unused variable warning

This commit is contained in:
hackerman-kl 2025-12-10 07:11:16 +01:00
parent c2ada3175e
commit 63abd4e71c

View file

@ -72,7 +72,6 @@ static int send_unsol_name(struct aecp *aecp,
{ {
uint8_t unsol_buf[512]; uint8_t unsol_buf[512];
struct avb_ethernet_header *h_unsol = (void*)unsol_buf; struct avb_ethernet_header *h_unsol = (void*)unsol_buf;
struct avb_packet_aecp_aem *p_unsol = SPA_PTROFF(h_unsol, sizeof(*h_unsol), void);
struct aecp_aem_base_info info = { 0 }; struct aecp_aem_base_info info = { 0 };
memcpy(unsol_buf, msg, len); memcpy(unsol_buf, msg, len);