diff options
| author | Frederic Weisbecker <frederic@kernel.org> | 2026-05-08 15:16:35 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-06-02 21:27:25 +0200 |
| commit | 080b5c6d95034e46f5ed1abe98c06218a1386aef (patch) | |
| tree | 4df44d81d516b17903f5e0b9a7167df47aa70e4e /rust/kernel | |
| parent | 0236aaf07b406100c8c3a6b78dba211f32449f49 (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')
0 files changed, 0 insertions, 0 deletions
