On Wed, Jun 12, 2024 at 1:59 AM kunyu <kunyu@xxxxxxxxxxxx> wrote: > > In these functions, the 'cnt' variable is not used or does not require > value checking, so these 'cnt' variables can be removed. > > Signed-off-by: kunyu <kunyu@xxxxxxxxxxxx> > --- > arch/x86/net/bpf_jit_comp32.c | 27 ++------------------------- > 1 file changed, 2 insertions(+), 25 deletions(-) > > diff --git a/arch/x86/net/bpf_jit_comp32.c b/arch/x86/net/bpf_jit_comp32.c > index de0f9e5f9f73..30f9b8a3faed 100644 > --- a/arch/x86/net/bpf_jit_comp32.c > +++ b/arch/x86/net/bpf_jit_comp32.c > @@ -207,7 +207,6 @@ static inline void emit_ia32_mov_i(const u8 dst, const u32 val, bool dstk, > u8 **pprog) > { > u8 *prog = *pprog; > - int cnt = 0; I don't think you bothered to compile it. pw-bot: cr