summaryrefslogtreecommitdiffstats
path: root/twrp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twrp.cpp')
-rw-r--r--twrp.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/twrp.cpp b/twrp.cpp
index ef694bf24..ab57f3713 100644
--- a/twrp.cpp
+++ b/twrp.cpp
@@ -369,10 +369,5 @@ int main(int argc, char **argv) {
else
TWFunc::tw_reboot(rb_system);
-#ifdef ANDROID_RB_RESTART
- android_reboot(ANDROID_RB_RESTART, 0, 0);
-#else
- reboot(RB_AUTOBOOT);
-#endif
return 0;
}