power: Remove unused local variables
authorChristopher N. Hesse <raymanfx@gmail.com>
Mon, 16 Jan 2017 22:45:28 +0000 (23:45 +0100)
committerChristopher N. Hesse <raymanfx@gmail.com>
Mon, 30 Jan 2017 22:06:50 +0000 (22:06 +0000)
Change-Id: I8f45398eba884fee3c3833a67f37ffd28186cf24

power/power.c

index d7ea14c93f62e423d809602c2cb36367f47afabc..25aa3d6010156f50eb74645277f28679dfcffe7d 100644 (file)
@@ -367,10 +367,6 @@ static void samsung_power_hint(struct power_module *module,
 
     switch (hint) {
         case POWER_HINT_INTERACTION: {
-            char errno_str[64];
-            ssize_t len;
-            int fd;
-
             if (current_power_profile == PROFILE_POWER_SAVE) {
                 return;
             }
@@ -389,7 +385,6 @@ static void samsung_power_hint(struct power_module *module,
             break;
         }
         case POWER_HINT_VSYNC: {
-
             ALOGV("%s: POWER_HINT_VSYNC", __func__);
             break;
         }