We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b66bc16 commit e37eabeCopy full SHA for e37eabe
arch/loongarch/net/bpf_jit.c
@@ -142,8 +142,6 @@ static void build_prologue(struct jit_ctx *ctx)
142
*/
143
if (seen_tail_call(ctx) && seen_call(ctx))
144
move_reg(ctx, TCC_SAVED, REG_TCC);
145
- else
146
- emit_insn(ctx, nop);
147
148
ctx->stack_size = stack_adjust;
149
}
arch/loongarch/net/bpf_jit.h
@@ -25,11 +25,6 @@ struct jit_data {
25
struct jit_ctx ctx;
26
};
27
28
-static inline void emit_nop(union loongarch_instruction *insn)
29
-{
30
- insn->word = INSN_NOP;
31
-}
32
-
33
#define emit_insn(ctx, func, ...) \
34
do { \
35
if (ctx->image != NULL) { \
0 commit comments