Skip to contentSkip to conversation

libucsi: dvb_id_selector_byte_000b not needed for dvb_ip_mac_notification_info iteration

PATCH Neil Armstrong 1 participant 1 message Dec 15, 2014 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

For the dvb_ip_mac_notification_info iteration, the field dvb_id_selector_byte_000b is only needed in the first iteration.

---
 lib/libucsi/dvb/data_broadcast_id_descriptor.h |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
lib/libucsi/dvb/data_broadcast_id_descriptor.h +0 -1
@@ -201,7 +201,6 @@
 {
     uint8_t *end = (uint8_t *) d + d->platform_id_data_length;
     uint8_t *next =    (uint8_t *) pos +
-            sizeof(struct dvb_id_selector_byte_000b) +
             sizeof(struct dvb_ip_mac_notification_info);
 
     if (next >= end)