summaryrefslogtreecommitdiffstats
path: root/lmkd
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2014-11-24 20:32:42 -0800
committerAndreas Gampe <agampe@google.com>2014-11-24 20:32:42 -0800
commitc165b01a8b9d1d4cfe7b6658aa9a2b01750a4b41 (patch)
treeef81a220626ca3190357d7545678d2e2bbc08c13 /lmkd
parent1690b49e631904759737176b4bb285d446655f5d (diff)
downloadsystem_core-c165b01a8b9d1d4cfe7b6658aa9a2b01750a4b41.zip
system_core-c165b01a8b9d1d4cfe7b6658aa9a2b01750a4b41.tar.gz
system_core-c165b01a8b9d1d4cfe7b6658aa9a2b01750a4b41.tar.bz2
Lmkd: Fix unused variables
For build-system CFLAGS clean-up, fix unused variables. Change-Id: I841192e92585814b8691d544cc48433b2ca1b3d3
Diffstat (limited to 'lmkd')
-rw-r--r--lmkd/lmkd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lmkd/lmkd.c b/lmkd/lmkd.c
index a534a24..7bbc811 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;