Skip to content

Commit

Permalink
Remove envs
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusCDE committed Dec 6, 2021
1 parent 3bd976c commit 6a8dbe1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/framebuffer/swtfb_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,6 @@ impl Default for SwtfbClient {
};
assert!(msqid >= 0);

// Does nested need special handling?
// This may not be needed at all.
if env::var("RM2FB_ACTIVE").is_ok() {
env::set_var("RM2FB_NESTED", "1");
} else {
env::set_var("RM2FB_ACTIVE", "1");
}

Self {
msqid,
do_wait_ioctl: env::var("RM2FB_NO_WAIT_IOCTL").is_err(),
Expand Down

0 comments on commit 6a8dbe1

Please sign in to comment.