Skip to content

Commit

Permalink
Remove the redundant check in realm create
Browse files Browse the repository at this point in the history
Signed-off-by: Changho Choi <[email protected]>
  • Loading branch information
zpzigi754 committed Oct 29, 2024
1 parent 68cfd08 commit 74b2a56
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions rmm/src/rmi/realm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,6 @@ pub fn set_event_handler(mainloop: &mut Mainloop) {
let rd = rd_granule.content::<Rd>()?;
let vmid = rd.id();

#[cfg(feature = "gst_page_table")]
if rd_granule.num_children() > 0 {
return Err(Error::RmiErrorRealm(0));
}

let rtt_base = rd.rtt_base();
for i in 0..rd.rtt_num_start() {
let rtt = rtt_base + i * GRANULE_SIZE;
Expand Down

0 comments on commit 74b2a56

Please sign in to comment.