On Tue, 2024-04-09 at 17:41 -0700, Kui-Feng Lee wrote: > reg_find_field_offset() always return a btf_field with a matching offset > value. Checking the offset of the returned btf_field is unnecessary. > > Signed-off-by: Kui-Feng Lee <thinker.li@xxxxxxxxx> > --- Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx>