diff options
| author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2024-08-05 03:43:04 +0300 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2024-08-05 23:32:16 +0300 |
| commit | 4980f712023a1c0c26a12f5212ced34587d81663 (patch) | |
| tree | c2f690efda762b9c5ac1072e26769cb741d2a5cf /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 563ea1f5f85171b68f9075f5c3c22c4b521f1b5e (diff) | |
| download | linux-4980f712023a1c0c26a12f5212ced34587d81663.tar.xz | |
cgroup/pids: Remove unreachable paths of pids_{can,cancel}_fork
According to the implementation of cgroup_css_set_fork(), it will fail
if cset cannot be found and the can_fork/cancel_fork methods will not
be called in this case, which means that the argument 'cset' for these
methods must not be NULL, so remove the unrechable paths in them.
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Reviewed-by: Waiman Long <longman@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
