OSDN Git Service

x86/resctrl: Clean up unused function parameter in mkdir path
authorXiaochen Shen <xiaochen.shen@intel.com>
Wed, 8 Jan 2020 16:28:06 +0000 (00:28 +0800)
committerBorislav Petkov <bp@suse.de>
Mon, 20 Jan 2020 16:00:41 +0000 (17:00 +0100)
commit32ada3b9e04c6f6d4916967bd8bbe2450ad5bc5e
treed17aacbe05c8185788b3ddcacbd82d202360c068
parent334b0f4e9b1b4a1d475f803419d202f6c5e4d18e
x86/resctrl: Clean up unused function parameter in mkdir path

Commit

  334b0f4e9b1b ("x86/resctrl: Fix a deadlock due to inaccurate reference")

changed the argument to rdtgroup_kn_lock_live()/rdtgroup_kn_unlock()
within mkdir_rdt_prepare(). That change resulted in an unused function
parameter to mkdir_rdt_prepare().

Clean up the unused function parameter in mkdir_rdt_prepare() and its
callers rdtgroup_mkdir_mon() and rdtgroup_mkdir_ctrl_mon().

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>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/1578500886-21771-5-git-send-email-xiaochen.shen@intel.com
arch/x86/kernel/cpu/resctrl/rdtgroup.c