Re: [PATCH net-next] net: sched: act_bpf: simplify code logic in tcf_bpf_init()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Mon, 26 Sep 2022 18:21:58 +0800 you wrote:
> Both is_bpf and is_ebpf are boolean types, so
> (!is_bpf && !is_ebpf) || (is_bpf && is_ebpf) can be reduced to
> is_bpf == is_ebpf in tcf_bpf_init().
> 
> Signed-off-by: Zhengchao Shao <shaozhengchao@xxxxxxxxxx>
> ---
>  net/sched/act_bpf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - [net-next] net: sched: act_bpf: simplify code logic in tcf_bpf_init()
    https://git.kernel.org/netdev/net-next/c/8fff09effb07

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux