x86/resctrl: Clean up unused function parameter in rmdir path
authorXiaochen Shen <xiaochen.shen@intel.com>
Mon, 30 Nov 2020 18:06:58 +0000 (02:06 +0800)
committerBorislav Petkov <bp@suse.de>
Tue, 1 Dec 2020 17:06:35 +0000 (18:06 +0100)
commit19eb86a72df50adcf554f234469bb5b7209b7640
tree45fc9f4fc593efe11cb8fec3e961816938d355fa
parent87314fb181f9042a226d721ab4a5579ddfca139c
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
arch/x86/kernel/cpu/resctrl/rdtgroup.c