From c165b01a8b9d1d4cfe7b6658aa9a2b01750a4b41 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Mon, 24 Nov 2014 20:32:42 -0800 Subject: [PATCH] Lmkd: Fix unused variables For build-system CFLAGS clean-up, fix unused variables. Change-Id: I841192e92585814b8691d544cc48433b2ca1b3d3 --- lmkd/lmkd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lmkd/lmkd.c b/lmkd/lmkd.c index a534a245f..7bbc81119 100644 --- a/lmkd/lmkd.c +++ b/lmkd/lmkd.c @@ -607,7 +607,6 @@ static int kill_one_process(struct proc *procp, int other_free, int other_file, static int find_and_kill_process(int other_free, int other_file, bool first) { int i; - int r; int min_score_adj = OOM_ADJUST_MAX + 1; int minfree = 0; int killed_size = 0; @@ -643,7 +642,6 @@ retry: } static void mp_event(uint32_t events __unused) { - int i; int ret; unsigned long long evcount; struct sysmeminfo mi;