summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHao Jia <jiahao.os@bytedance.com>2022-08-06 20:05:09 +0800
committerTejun Heo <tj@kernel.org>2022-08-15 12:35:25 -1000
commit76b079ef4cc954fc2c2e0333a01855b0b2b6bdee (patch)
treee1d73dc30b90c3f70c8c47e4a40df4ee620f811c /include
parent2b97cf76289a4fcae66d7959b0d74a87207d7068 (diff)
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 'include')
-rw-r--r--include/linux/psi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/psi.h b/include/linux/psi.h
index 89784763d19e..dd74411ac21d 100644
--- a/include/linux/psi.h
+++ b/include/linux/psi.h
@@ -27,7 +27,7 @@ void psi_memstall_leave(unsigned long *flags);
int psi_show(struct seq_file *s, struct psi_group *group, enum psi_res res);
struct psi_trigger *psi_trigger_create(struct psi_group *group,
- char *buf, size_t nbytes, enum psi_res res);
+ char *buf, enum psi_res res);
void psi_trigger_destroy(struct psi_trigger *t);
__poll_t psi_trigger_poll(void **trigger_ptr, struct file *file,