Skip to content

Commit 9092042

Browse files
committed
refactor: 删除无用配置代码
1 parent 4cfa381 commit 9092042

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/framework/config/data/default.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ impl Config {
1919
true
2020
}
2121

22-
pub const fn default_value_userspace_governor() -> bool {
23-
false
24-
}
25-
2622
pub const fn default_value_scene_game_list() -> bool {
2723
true
2824
}

src/framework/config/data/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ pub struct ConfigData {
3636
pub struct Config {
3737
#[serde(default = "Config::default_value_keep_std")]
3838
pub keep_std: bool,
39-
#[serde(default = "Config::default_value_userspace_governor")]
40-
pub userspace_governor: bool,
4139
#[serde(default = "Config::default_value_scene_game_list")]
4240
pub scene_game_list: bool,
4341
}

0 commit comments

Comments
 (0)