Searched hist:"19 eb86a7" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/arch/x86/kernel/cpu/resctrl/ |
H A D | rdtgroup.c | 19eb86a7 Mon Nov 30 12:06:58 CST 2020 Xiaochen Shen <xiaochen.shen@intel.com> 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
|