diff options
author | Hao Jia <jiahao.os@bytedance.com> | 2022-08-06 14:05:09 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2022-08-16 00:35:25 +0200 |
commit | 76b079ef4cc954fc2c2e0333a01855b0b2b6bdee (patch) | |
tree | e1d73dc30b90c3f70c8c47e4a40df4ee620f811c /kernel/cgroup/cgroup.c | |
parent | sched/psi: Zero the memory of struct psi_group (diff) | |
download | linux-76b079ef4cc954fc2c2e0333a01855b0b2b6bdee.tar.xz linux-76b079ef4cc954fc2c2e0333a01855b0b2b6bdee.zip |
sched/psi: Remove unused parameter nbytes of psi_trigger_create()
psi_trigger_create()'s 'nbytes' parameter is not used, so we can remove it.
Signed-off-by: Hao Jia <jiahao.os@bytedance.com>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/cgroup/cgroup.c')
-rw-r--r-- | kernel/cgroup/cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/cgroup/cgroup.c b/kernel/cgroup/cgroup.c index ffaccd6373f1..df7df5843b4f 100644 --- a/kernel/cgroup/cgroup.c +++ b/kernel/cgroup/cgroup.c @@ -3698,7 +3698,7 @@ static ssize_t cgroup_pressure_write(struct kernfs_open_file *of, char *buf, } psi = cgroup_ino(cgrp) == 1 ? &psi_system : cgrp->psi; - new = psi_trigger_create(psi, buf, nbytes, res); + new = psi_trigger_create(psi, buf, res); if (IS_ERR(new)) { cgroup_put(cgrp); return PTR_ERR(new); |