From e04c3b05339dd48e050cfc7ad9f9460e259e3797 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 13 Jan 2017 18:14:12 -0800 Subject: [PATCH] Remove unused klog_get_level. Every little helps... Bug: N/A Test: builds Change-Id: Ibcac5cda1619420c95903211ed0b96af81351f9e --- include/cutils/klog.h | 1 - libcutils/klog.cpp | 4 ---- 2 files changed, 5 deletions(-) diff --git a/include/cutils/klog.h b/include/cutils/klog.h index e7cd30046..5ae6216eb 100644 --- a/include/cutils/klog.h +++ b/include/cutils/klog.h @@ -23,7 +23,6 @@ __BEGIN_DECLS -int klog_get_level(void); void klog_set_level(int level); void klog_write(int level, const char *fmt, ...) diff --git a/libcutils/klog.cpp b/libcutils/klog.cpp index 15adf6baf..d301276f9 100644 --- a/libcutils/klog.cpp +++ b/libcutils/klog.cpp @@ -29,10 +29,6 @@ static int klog_level = KLOG_INFO_LEVEL; -int klog_get_level(void) { - return klog_level; -} - void klog_set_level(int level) { klog_level = level; }