[PATCH bpf-next v2 1/4] riscv, bpf: Remove redundant ctx->offset initialization
Björn Töpel
bjorn at kernel.org
Tue Jan 30 08:04:46 PST 2024
Pu Lehui <pulehui at huaweicloud.com> writes:
> From: Pu Lehui <pulehui at huawei.com>
>
> There is no gain in initializing ctx->offset and prev_insns, and
> ctx->offset is already zero-initialized. Let's remove this code.
>
> Signed-off-by: Pu Lehui <pulehui at huawei.com>
Acked-by: Björn Töpel <bjorn at kernel.org>
More information about the linux-riscv
mailing list