Files
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 <[email protected]>
Signed-off-by: Dave Hansen <[email protected]>
Reviewed-by: Fenghua Yu <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
2021-12-09 09:57:16 -08:00
..