diff options
| author | Zhengchao Shao <shaozhengchao@huawei.com> | 2022-09-01 09:16:17 +0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-02 21:24:49 -0700 |
| commit | 2e5fb3223261366d1673c3827190c85a74b1aa56 (patch) | |
| tree | b8ebc5091ab098454b8594c730cfee1925b207a8 /lib/mpi/mpi-cmp.c | |
| parent | c8ef3c94bda0e21123202d057d4a299698fa0ed9 (diff) | |
net/sched: cls_api: remove redundant 0 check in tcf_qevent_init()
tcf_qevent_parse_block_index() never returns a zero block_index.
Therefore, it is unnecessary to check the value of block_index in
tcf_qevent_init().
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Link: https://lore.kernel.org/r/20220901011617.14105-1-shaozhengchao@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
