diff options
author | Elliott Hughes | 2016-07-19 13:45:36 -0500 |
---|---|---|
committer | Elliott Hughes | 2016-07-19 13:45:36 -0500 |
commit | 489e3fbaa02f43b198e3962076529f506766b590 (patch) | |
tree | d6dfd59385007f8c44aae1fdf84273255178b388 /libcutils/klog.cpp | |
parent | ddbcecec3a28b0916c1f7f098c3e6995d46687de (diff) | |
download | platform-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.cpp | 3 |
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 | ||
39 | void klog_init(void) { | ||
40 | } | ||
41 | |||
42 | static int __open_klog(void) { | 39 | static 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) { |