power: Remove unused variable
Unused after commit: "power: Ignore interaction boost sequence in a short period" (I977e844935539a4598a749c77f4c0934ca93a2b7) Change-Id: I270048ac550c89d292a4dcd470c600c1e8344952
This commit is contained in:
@@ -66,7 +66,6 @@ void power_init() {
|
|||||||
|
|
||||||
void process_interaction_hint(void* data) {
|
void process_interaction_hint(void* data) {
|
||||||
static struct timespec s_previous_boost_timespec;
|
static struct timespec s_previous_boost_timespec;
|
||||||
static int s_previous_duration = 0;
|
|
||||||
static int prev_interaction_handle = -1;
|
static int prev_interaction_handle = -1;
|
||||||
|
|
||||||
struct timespec cur_boost_timespec;
|
struct timespec cur_boost_timespec;
|
||||||
@@ -91,7 +90,6 @@ void process_interaction_hint(void* data) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
s_previous_boost_timespec = cur_boost_timespec;
|
s_previous_boost_timespec = cur_boost_timespec;
|
||||||
s_previous_duration = duration;
|
|
||||||
|
|
||||||
int interaction_handle =
|
int interaction_handle =
|
||||||
perf_hint_enable_with_type(VENDOR_HINT_SCROLL_BOOST, duration, SCROLL_VERTICAL);
|
perf_hint_enable_with_type(VENDOR_HINT_SCROLL_BOOST, duration, SCROLL_VERTICAL);
|
||||||
|
|||||||
Reference in New Issue
Block a user