summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes2016-07-19 13:45:36 -0500
committerElliott Hughes2016-07-19 13:45:36 -0500
commit489e3fbaa02f43b198e3962076529f506766b590 (patch)
treed6dfd59385007f8c44aae1fdf84273255178b388 /libcutils/klog.cpp
parentddbcecec3a28b0916c1f7f098c3e6995d46687de (diff)
downloadplatform-system-core-489e3fbaa02f43b198e3962076529f506766b590.tar.gz
platform-system-core-489e3fbaa02f43b198e3962076529f506766b590.tar.xz
platform-system-core-489e3fbaa02f43b198e3962076529f506766b590.zip
Remove no-op klog_init.
Change-Id: I467edad1d004ac16647f4aa1f0eead04e808efa0
Diffstat (limited to 'libcutils/klog.cpp')
-rw-r--r--libcutils/klog.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/libcutils/klog.cpp b/libcutils/klog.cpp
index 11ebf88fb..abf643f4f 100644
--- a/libcutils/klog.cpp
+++ b/libcutils/klog.cpp
@@ -36,9 +36,6 @@ void klog_set_level(int level) {
36 klog_level = level; 36 klog_level = level;
37} 37}
38 38
39void klog_init(void) {
40}
41
42static int __open_klog(void) { 39static int __open_klog(void) {
43 int fd = open("/dev/kmsg", O_WRONLY | O_CLOEXEC); 40 int fd = open("/dev/kmsg", O_WRONLY | O_CLOEXEC);
44 if (fd == -1) { 41 if (fd == -1) {