Skip to content

Commit bdafd89

Browse files
finikorgcarlescufi
authored andcommitted
net: 6lo: Remove dead statement
Value stored to compressed_hdr_size is never read. Signed-off-by: Andrei Emeltchenko <[email protected]>
1 parent 38b40f2 commit bdafd89

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

subsys/net/ip/6lo.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1624,7 +1624,6 @@ int net_6lo_uncompress_hdr_diff(struct net_pkt *pkt)
16241624
}
16251625

16261626
nhc_inline_size = get_udp_nhc_inlined_size(nhc);
1627-
compressed_hdr_size += sizeof(uint8_t) + nhc_inline_size;
16281627
diff += sizeof(struct net_udp_hdr) - sizeof(uint8_t) -
16291628
nhc_inline_size;
16301629
}

0 commit comments

Comments
 (0)