linux/arch/x86/kernel/cpu/resctrl
Colin Ian King df0114f1f8 x86/resctrl: Remove redundant assignment to variable chunks
The variable chunks is being shifted right and re-assinged the shifted
value which is then returned. Since chunks is not being read afterwards
the assignment is redundant and the >>= operator can be replaced with a
shift >> operator instead.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Fenghua Yu <fenghua.yu@intel.com>
Link: https://lkml.kernel.org/r/20211207223735.35173-1-colin.i.king@gmail.com
2021-12-09 09:57:16 -08:00
..
core.c x86/resctrl: Fix kfree() of the wrong type in domain_add_cpu() 2021-10-06 18:45:27 +02:00
ctrlmondata.c x86/resctrl: Make resctrl_arch_get_config() return its value 2021-08-11 18:42:53 +02:00
internal.h x86/resctrl: Merge the CDP resources 2021-08-11 18:39:42 +02:00
Makefile x86/resctrl: Avoid confusion over the new X86_RESCTRL config 2019-02-02 10:34:52 +01:00
monitor.c x86/resctrl: Remove redundant assignment to variable chunks 2021-12-09 09:57:16 -08:00
pseudo_lock_event.h
pseudo_lock.c x86/resctrl: Add a helper to read/set the CDP configuration 2021-08-11 15:54:26 +02:00
rdtgroup.c x86/resctrl: Make resctrl_arch_get_config() return its value 2021-08-11 18:42:53 +02:00