Skip to content

Commit e5f03c2

Browse files
committed
Remove unused var
Signed-off-by: Ludvig Liljenberg <[email protected]>
1 parent b4398fb commit e5f03c2

File tree

1 file changed

+0
-1
lines changed
  • src/hyperlight_host/src/hypervisor

1 file changed

+0
-1
lines changed

src/hyperlight_host/src/hypervisor/whp.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,6 @@ impl Vm for WhpVm {
331331
WHvRunVpExitReasonX64Halt => HyperlightExit::Halt(),
332332
WHvRunVpExitReasonMemoryAccess => {
333333
let gpa = unsafe { exit_context.Anonymous.MemoryAccess.Gpa };
334-
let rip = exit_context.VpContext.Rip;
335334
let access_info = unsafe {
336335
WHV_MEMORY_ACCESS_TYPE(
337336
// 2 first bits are the access type, see https://learn.microsoft.com/en-us/virtualization/api/hypervisor-platform/funcs/memoryaccess#syntax

0 commit comments

Comments
 (0)