From b5745408a5d98a3a1535d688331253d306d4dd9c Mon Sep 17 00:00:00 2001 From: Botond Ballo Date: Mon, 24 Nov 2014 20:01:41 -0500 Subject: [PATCH] Bug 1073081 - Remove an old preprocessor #else branch. r=dhylands --HG-- extra : source : 3def1452028894b4a91415a43e4edb1655592761 --- hal/gonk/GonkHal.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/hal/gonk/GonkHal.cpp b/hal/gonk/GonkHal.cpp index 6b68c1e1546..f366d3d662c 100644 --- a/hal/gonk/GonkHal.cpp +++ b/hal/gonk/GonkHal.cpp @@ -1212,11 +1212,9 @@ OomVictimLogger::Observe( // deprecated the old klog defs. // Our current bionic does not hit this // change yet so handle the future change. + // (ICS doesn't have KLOG_SIZE_BUFFER but + // JB and onwards does.) #define KLOG_SIZE_BUFFER KLOG_WRITE -#else - // Once the change hits our bionic this ifndef - // can be removed. - #warning "Please remove KLOG_UNREAD_SIZE compatability def" #endif // Retreive kernel log int msg_buf_size = klogctl(KLOG_SIZE_BUFFER, NULL, 0);