Skip to content

Commit d3c20bf

Browse files
committed
Merge tag 'x86_cache_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 resource control fixlet from Borislav Petkov: "A minor code cleanup removing a redundant assignment" * tag 'x86_cache_for_v5.17_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/resctrl: Remove redundant assignment to variable chunks
2 parents 01d5e78 + df0114f commit d3c20bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/kernel/cpu/resctrl/monitor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ static u64 mbm_overflow_count(u64 prev_msr, u64 cur_msr, unsigned int width)
282282
u64 shift = 64 - width, chunks;
283283

284284
chunks = (cur_msr << shift) - (prev_msr << shift);
285-
return chunks >>= shift;
285+
return chunks >> shift;
286286
}
287287

288288
static u64 __mon_event_count(u32 rmid, struct rmid_read *rr)

0 commit comments

Comments
 (0)