diff --git a/init/init_msm8953.cpp b/init/init_msm8953.cpp
index 7c9c693b56744e324624661d2c4da1f528d053a7..a7c4f4453e61f6f8d47904f52c6fbf4378dd3f7e 100644
--- a/init/init_msm8953.cpp
+++ b/init/init_msm8953.cpp
@@ -1,5 +1,7 @@
 /*
    Copyright (c) 2016, The CyanogenMod Project
+   Copyright (C) 2019 The LineageOS Project.
+
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are
    met:
@@ -25,8 +27,6 @@
    IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include <fcntl.h>
-#include <stdlib.h>
 #include <sys/sysinfo.h>
 
 #include "vendor_init.h"
@@ -38,37 +38,6 @@ char const *heapminfree;
 
 using android::init::property_set;
 
-static void init_alarm_boot_properties()
-{
-    int boot_reason;
-    FILE *fp;
-
-    fp = fopen("/proc/sys/kernel/boot_reason", "r");
-    fscanf(fp, "%d", &boot_reason);
-    fclose(fp);
-
-    /*
-     * Setup ro.alarm_boot value to true when it is RTC triggered boot up
-     * For existing PMIC chips, the following mapping applies
-     * for the value of boot_reason:
-     *
-     * 0 -> unknown
-     * 1 -> hard reset
-     * 2 -> sudden momentary power loss (SMPL)
-     * 3 -> real time clock (RTC)
-     * 4 -> DC charger inserted
-     * 5 -> USB charger inserted
-     * 6 -> PON1 pin toggled (for secondary PMICs)
-     * 7 -> CBLPWR_N pin toggled (for external power supply)
-     * 8 -> KPDPWR_N pin toggled (power key pressed)
-     */
-     if (boot_reason == 3) {
-        property_set("ro.alarm_boot", "true");
-     } else {
-        property_set("ro.alarm_boot", "false");
-     }
-}
-
 void check_device()
 {
     struct sysinfo sys;
@@ -88,7 +57,6 @@ void check_device()
 
 void vendor_load_properties()
 {
-    init_alarm_boot_properties();
     check_device();
 
     property_set("dalvik.vm.heapstartsize", "16m");