diff options
author | Elliott Hughes | 2017-01-13 20:14:12 -0600 |
---|---|---|
committer | Elliott Hughes | 2017-01-13 20:14:12 -0600 |
commit | e04c3b05339dd48e050cfc7ad9f9460e259e3797 (patch) | |
tree | cd40b25f2978f763fe2527840ee8cdd6c67aa5f7 | |
parent | 3052d123a85442deb7b2048753ebab3adc7dded0 (diff) | |
download | platform-system-core-e04c3b05339dd48e050cfc7ad9f9460e259e3797.tar.gz platform-system-core-e04c3b05339dd48e050cfc7ad9f9460e259e3797.tar.xz platform-system-core-e04c3b05339dd48e050cfc7ad9f9460e259e3797.zip |
Remove unused klog_get_level.
Every little helps...
Bug: N/A
Test: builds
Change-Id: Ibcac5cda1619420c95903211ed0b96af81351f9e
-rw-r--r-- | include/cutils/klog.h | 1 | ||||
-rw-r--r-- | libcutils/klog.cpp | 4 |
2 files changed, 0 insertions, 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 @@ | |||
23 | 23 | ||
24 | __BEGIN_DECLS | 24 | __BEGIN_DECLS |
25 | 25 | ||
26 | int klog_get_level(void); | ||
27 | void klog_set_level(int level); | 26 | void klog_set_level(int level); |
28 | 27 | ||
29 | void klog_write(int level, const char *fmt, ...) | 28 | 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 @@ | |||
29 | 29 | ||
30 | static int klog_level = KLOG_INFO_LEVEL; | 30 | static int klog_level = KLOG_INFO_LEVEL; |
31 | 31 | ||
32 | int klog_get_level(void) { | ||
33 | return klog_level; | ||
34 | } | ||
35 | |||
36 | void klog_set_level(int level) { | 32 | void klog_set_level(int level) { |
37 | klog_level = level; | 33 | klog_level = level; |
38 | } | 34 | } |