power: msm8996: Remove dead code

Change-Id: Ia26e5989a7063baad048e017715fe0f31332fb75
diff --git a/power-8996.c b/power-8996.c
index a12e92a..d090e8f 100644
--- a/power-8996.c
+++ b/power-8996.c
@@ -47,8 +47,6 @@
 #include "performance.h"
 #include "power-common.h"
 
-static int display_hint_sent;
-
 static int process_video_encode_hint(void *metadata)
 {
     char governor[80];
@@ -129,39 +127,7 @@
     return ret_val;
 }
 
-int set_interactive_override(int on)
+int set_interactive_override(int UNUSED(on))
 {
-    return HINT_HANDLED; /* Don't excecute this code path, not in use */
-    char governor[80];
-
-    if (get_scaling_governor(governor, sizeof(governor)) == -1) {
-        ALOGE("Can't obtain scaling governor.");
-
-        return HINT_NONE;
-    }
-
-    if (!on) {
-        /* Display off */
-        if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
-            (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
-            int resource_values[] = {}; /* dummy node */
-            if (!display_hint_sent) {
-                perform_hint_action(DISPLAY_STATE_HINT_ID,
-                resource_values, sizeof(resource_values)/sizeof(resource_values[0]));
-                display_hint_sent = 1;
-                ALOGI("Display Off hint start");
-                return HINT_HANDLED;
-            }
-        }
-    } else {
-        /* Display on */
-        if ((strncmp(governor, INTERACTIVE_GOVERNOR, strlen(INTERACTIVE_GOVERNOR)) == 0) &&
-            (strlen(governor) == strlen(INTERACTIVE_GOVERNOR))) {
-            undo_hint_action(DISPLAY_STATE_HINT_ID);
-            display_hint_sent = 0;
-            ALOGI("Display Off hint stop");
-            return HINT_HANDLED;
-        }
-    }
-    return HINT_NONE;
+    return HINT_HANDLED;
 }