From: Christopher N. Hesse Date: Mon, 16 Jan 2017 22:45:28 +0000 (+0100) Subject: power: Remove unused local variables X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=40f30214187ecec04e121c9bf8c4b1e63ef8d609;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git power: Remove unused local variables Change-Id: I8f45398eba884fee3c3833a67f37ffd28186cf24 --- diff --git a/power/power.c b/power/power.c index d7ea14c..25aa3d6 100644 --- a/power/power.c +++ b/power/power.c @@ -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; }