Message ID | 1507993210-15088-2-git-send-email-odpbot@yandex.ru |
---|---|
State | New |
Headers | show |
Series | [v5,1/2] linux-generic: packet: correct syntax issue | expand |
diff --git a/platform/linux-generic/odp_packet.c b/platform/linux-generic/odp_packet.c index f4a0e0ec9..a3fd0559f 100644 --- a/platform/linux-generic/odp_packet.c +++ b/platform/linux-generic/odp_packet.c @@ -389,10 +389,8 @@ static inline void init_segments(odp_packet_hdr_t *pkt_hdr[], int num) hdr->buf_hdr.next_seg = NULL; hdr->buf_hdr.last_seg = &hdr->buf_hdr; - if (odp_unlikely(num > 1)) { + if (odp_unlikely(num > 1)) link_segments(pkt_hdr, num); - - } } }