Re: [PATCH bpf-next] xsk: Elide base_addr comparison in xp_unaligned_validate_desc

From: Kal Cutter Conley
Date: Sun Apr 09 2023 - 10:49:33 EST


> + addr = xp_unaligned_add_offset_to_addr(desc->addr);
> +

I guess this assignment should simply be combined with the variable
declaration. This will shorten the function by an additional two lines
of code.