diff options
| author | Zhengchao Shao <shaozhengchao@huawei.com> | 2022-09-26 18:21:58 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-09-28 09:38:56 +0100 |
| commit | 8fff09effb0720d13a52eb227bf0f23c4e4b9989 (patch) | |
| tree | 55347f17a3d111f403724977b1ea3d1bdd4ca894 /drivers/net/xen-netback/interface.c | |
| parent | Merge branch 'lan966x-qos' (diff) | |
| download | linux-8fff09effb0720d13a52eb227bf0f23c4e4b9989.tar.gz linux-8fff09effb0720d13a52eb227bf0f23c4e4b9989.zip | |
net: sched: act_bpf: simplify code logic in tcf_bpf_init()
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@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
