diff options
author | 2020-12-01 02:06:58 +0800 | |
---|---|---|
committer | 2020-12-01 18:06:35 +0100 | |
commit | 19eb86a72df50adcf554f234469bb5b7209b7640 (patch) | |
tree | 45fc9f4fc593efe11cb8fec3e961816938d355fa /arch/x86/kernel/cpu/resctrl/monitor.c | |
parent | Merge tag 'v5.10-rc6' into x86/cache (diff) | |
download | linux-dev-19eb86a72df50adcf554f234469bb5b7209b7640.tar.xz linux-dev-19eb86a72df50adcf554f234469bb5b7209b7640.zip |
x86/resctrl: Clean up unused function parameter in rmdir path
Commit
fd8d9db3559a ("x86/resctrl: Remove superfluous kernfs_get() calls to prevent refcount leak")
removed superfluous kernfs_get() calls in rdtgroup_ctrl_remove() and
rdtgroup_rmdir_ctrl(). That change resulted in an unused function
parameter to these two functions.
Clean up the unused function parameter in rdtgroup_ctrl_remove(),
rdtgroup_rmdir_mon() and their callers rdtgroup_rmdir_ctrl() and
rdtgroup_rmdir().
Signed-off-by: Xiaochen Shen <xiaochen.shen@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Link: https://lkml.kernel.org/r/1606759618-13181-1-git-send-email-xiaochen.shen@intel.com
Diffstat (limited to 'arch/x86/kernel/cpu/resctrl/monitor.c')
0 files changed, 0 insertions, 0 deletions