diff --git a/pkg/network/ebpf/c/protocols/http2/decoding.h b/pkg/network/ebpf/c/protocols/http2/decoding.h index 7abd0a642f897..2582951c20ea5 100644 --- a/pkg/network/ebpf/c/protocols/http2/decoding.h +++ b/pkg/network/ebpf/c/protocols/http2/decoding.h @@ -625,11 +625,6 @@ static __always_inline void handle_first_frame(pktbuf_t pkt, __u32 *external_dat return; } - http2_telemetry_t *http2_tel = get_telemetry(pkt); - if (http2_tel == NULL) { - return; - } - incomplete_frame_t *incomplete_frame = bpf_map_lookup_elem(&http2_incomplete_frames, tup); bool has_valid_first_frame = pktbuf_get_first_frame(pkt, incomplete_frame, ¤t_frame); // If we have a state and we consumed it, then delete it.