Commit a497832
committed
KVM: x86: Drop ASSERT()s on APIC/vCPU being non-NULL
Remove ASSERT()s on vCPU and APIC structures being non-NULL in the local
APIC code as the DEBUG=1 path of ASSERT() ends with BUG(), i.e. isn't
meaningfully better for debugging than a NULL pointer dereference.
For all intents and purposes, no functional change intended.
Link: https://patch.msgid.link/20251206004311.479939-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>1 parent c9d7134 commit a497832
1 file changed
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1048 | 1048 | | |
1049 | 1049 | | |
1050 | 1050 | | |
1051 | | - | |
1052 | 1051 | | |
1053 | 1052 | | |
1054 | 1053 | | |
| |||
1607 | 1606 | | |
1608 | 1607 | | |
1609 | 1608 | | |
1610 | | - | |
1611 | | - | |
1612 | 1609 | | |
1613 | 1610 | | |
1614 | 1611 | | |
| |||
3000 | 2997 | | |
3001 | 2998 | | |
3002 | 2999 | | |
3003 | | - | |
3004 | | - | |
3005 | 3000 | | |
3006 | 3001 | | |
3007 | 3002 | | |
| |||
0 commit comments