x86/resctrl: Remove struct rdt_membw::max_delay
authorJames Morse <james.morse@arm.com>
Wed, 8 Jul 2020 16:39:21 +0000 (16:39 +0000)
committerBorislav Petkov <bp@suse.de>
Tue, 18 Aug 2020 15:01:23 +0000 (17:01 +0200)
commite89f85b9171665c917dca59920884f3d4fe0b1ef
treeba0e86a4d65e259c6d92570ef470d4a2476465c6
parentabe8f12b44250d02937665033a8b750c1bfeb26e
x86/resctrl: Remove struct rdt_membw::max_delay

max_delay is used by x86's __get_mem_config_intel() as a local variable.
Remove it, replacing it with a local variable.

Signed-off-by: James Morse <james.morse@arm.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Link: https://lkml.kernel.org/r/20200708163929.2783-3-james.morse@arm.com
arch/x86/kernel/cpu/resctrl/core.c
arch/x86/kernel/cpu/resctrl/internal.h