From 9b8bb4ca0b1b04ab5f511e567529403d471ea325 Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Tue, 2 Apr 2019 18:58:57 -0700 Subject: Remove binder_node_debug_info definition. Bug: 129785390 Test: build only (is in kernel headers) Change-Id: Iadeda477277b4f26b53a651abb6049c3cdc08bd7 --- libs/binder/ProcessState.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'libs/binder/ProcessState.cpp') diff --git a/libs/binder/ProcessState.cpp b/libs/binder/ProcessState.cpp index 3798b61ab9..1c74e7b077 100644 --- a/libs/binder/ProcessState.cpp +++ b/libs/binder/ProcessState.cpp @@ -202,15 +202,6 @@ bool ProcessState::becomeContextManager(context_check_func checkFunc, void* user // already be invalid. ssize_t ProcessState::getKernelReferences(size_t buf_count, uintptr_t* buf) { - // TODO: remove these when they are defined by bionic's binder.h - struct binder_node_debug_info { - binder_uintptr_t ptr; - binder_uintptr_t cookie; - __u32 has_strong_ref; - __u32 has_weak_ref; - }; -#define BINDER_GET_NODE_DEBUG_INFO _IOWR('b', 11, struct binder_node_debug_info) - binder_node_debug_info info = {}; uintptr_t* end = buf ? buf + buf_count : nullptr; -- cgit v1.2.3-59-g8ed1b