mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-09 21:51:45 +00:00
mc: Remove dead code in get_carveout_by_id (#52)
This commit is contained in:
parent
991d4f1355
commit
fff3912c81
1 changed files with 0 additions and 9 deletions
|
@ -9,15 +9,6 @@ volatile security_carveout_t *get_carveout_by_id(unsigned int carveout) {
|
|||
}
|
||||
generic_panic();
|
||||
return NULL;
|
||||
switch (carveout) {
|
||||
case 4: /* Kernel carveout */
|
||||
return (volatile security_carveout_t *)(MC_BASE + 0xCF8ULL);
|
||||
case 5: /* Unused Kernel carveout */
|
||||
return (volatile security_carveout_t *)(MC_BASE + 0xD48ULL);
|
||||
default:
|
||||
generic_panic();
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
|
||||
void configure_default_carveouts(void) {
|
||||
|
|
Loading…
Reference in a new issue