All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Armstrong <narmstrong@neotion.com>
To: linux-media@vger.kernel.org
Subject: libucsi: dvb_id_selector_byte_000b not needed for dvb_ip_mac_notification_info iteration
Date: Mon, 15 Dec 2014 10:13:20 +0100	[thread overview]
Message-ID: <548EA630.3020801@neotion.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 794 bytes --]

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

Signed-off-by: Neil Armstrong <narmstrong@neotion.com>
---
 lib/libucsi/dvb/data_broadcast_id_descriptor.h |  1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/lib/libucsi/dvb/data_broadcast_id_descriptor.h b/lib/libucsi/dvb/data_broadcast_id_descriptor.h
--- a/lib/libucsi/dvb/data_broadcast_id_descriptor.h
+++ b/lib/libucsi/dvb/data_broadcast_id_descriptor.h
@@ -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)



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

                 reply	other threads:[~2014-12-15  9:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=548EA630.3020801@neotion.com \
    --to=narmstrong@neotion.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.