summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorFrederic Weisbecker <frederic@kernel.org>2026-05-08 15:16:35 +0200
committerThomas Gleixner <tglx@kernel.org>2026-06-02 21:27:25 +0200
commit080b5c6d95034e46f5ed1abe98c06218a1386aef (patch)
tree4df44d81d516b17903f5e0b9a7167df47aa70e4e /rust/kernel/alloc
parent0236aaf07b406100c8c3a6b78dba211f32449f49 (diff)
sched/cputime: Remove superfluous and error prone kcpustat_field() parameter
The first parameter to kcpustat_field() is a pointer to the cpu kcpustat to be fetched from. This parameter is error prone because a copy to a kcpustat could be passed by accident instead of the original one. Also the kcpustat structure can already be retrieved with the help of the mandatory CPU argument. Remove the needless parameter. Signed-off-by: Frederic Weisbecker <frederic@kernel.org> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Tested-by: Shrikanth Hegde <sshegde@linux.ibm.com> Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com> Link: https://patch.msgid.link/20260508131647.43868-4-frederic@kernel.org
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions