bpf: remove unnecessary if statement for length check