You've already forked Magisk
mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-09-06 06:36:58 +00:00
Remove unused code
This commit is contained in:
@@ -306,8 +306,6 @@ void SARBase::patch_ro_root() {
|
||||
setup_tmp(tmp_dir.data());
|
||||
chdir(tmp_dir.data());
|
||||
|
||||
mount_rules_dir(BLOCKDIR, MIRRDIR);
|
||||
|
||||
// Mount system_root mirror
|
||||
xmkdir(ROOTMIR, 0755);
|
||||
xmount("/", ROOTMIR, nullptr, MS_BIND, nullptr);
|
||||
@@ -406,8 +404,6 @@ void MagiskInit::patch_rw_root() {
|
||||
setup_tmp(PRE_TMPDIR);
|
||||
chdir(PRE_TMPDIR);
|
||||
|
||||
mount_rules_dir(BLOCKDIR, MIRRDIR);
|
||||
|
||||
{
|
||||
// Extract magisk
|
||||
auto magisk = mmap_data("/sbin/magisk32.xz");
|
||||
|
||||
Reference in New Issue
Block a user