Commit 8ccd51c
KVM: x86/mmu: Drop @max_level from kvm_mmu_max_mapping_level()
Drop the @max_level parameter from kvm_mmu_max_mapping_level(). All
callers pass in PG_LEVEL_NUM, so @max_level can be replaced with
PG_LEVEL_NUM in the function body.
No functional change intended.
Signed-off-by: David Matlack <dmatlack@google.com>
Link: https://lore.kernel.org/r/20240823235648.3236880-2-dmatlack@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent b9883ee commit 8ccd51c
3 files changed
Lines changed: 5 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3114 | 3114 | | |
3115 | 3115 | | |
3116 | 3116 | | |
3117 | | - | |
3118 | | - | |
| 3117 | + | |
3119 | 3118 | | |
3120 | 3119 | | |
3121 | 3120 | | |
3122 | 3121 | | |
3123 | | - | |
| 3122 | + | |
3124 | 3123 | | |
3125 | 3124 | | |
3126 | 3125 | | |
| |||
6919 | 6918 | | |
6920 | 6919 | | |
6921 | 6920 | | |
6922 | | - | |
6923 | | - | |
| 6921 | + | |
6924 | 6922 | | |
6925 | 6923 | | |
6926 | 6924 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
350 | | - | |
| 349 | + | |
351 | 350 | | |
352 | 351 | | |
353 | 352 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1626 | 1626 | | |
1627 | 1627 | | |
1628 | 1628 | | |
1629 | | - | |
1630 | | - | |
| 1629 | + | |
1631 | 1630 | | |
1632 | 1631 | | |
1633 | 1632 | | |
| |||
0 commit comments