From 489e3fbaa02f43b198e3962076529f506766b590 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 19 Jul 2016 11:45:36 -0700 Subject: [PATCH] Remove no-op klog_init. Change-Id: I467edad1d004ac16647f4aa1f0eead04e808efa0 --- include/cutils/klog.h | 1 - libcutils/klog.cpp | 3 --- 2 files changed, 4 deletions(-) diff --git a/include/cutils/klog.h b/include/cutils/klog.h index 2078fa218..c837edb9a 100644 --- a/include/cutils/klog.h +++ b/include/cutils/klog.h @@ -23,7 +23,6 @@ __BEGIN_DECLS -void klog_init(void); int klog_get_level(void); void klog_set_level(int level); 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) { klog_level = level; } -void klog_init(void) { -} - static int __open_klog(void) { int fd = open("/dev/kmsg", O_WRONLY | O_CLOEXEC); if (fd == -1) {