From 6694d3e3d5b7ca2418bbca3007ad4b980f3a3602 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 31 Jan 2014 10:36:33 -0800 Subject: Remove dead code that looked like part of debuggerd. Note that these were two different functions. The definition was unused, and the declaration was undefined. Change-Id: I2edd10a0ab9422cd5252bdb9ccdd726dc5fad531 --- debuggerd/crasher.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'debuggerd/crasher.c') diff --git a/debuggerd/crasher.c b/debuggerd/crasher.c index 5ecb1a5..0033948 100644 --- a/debuggerd/crasher.c +++ b/debuggerd/crasher.c @@ -23,19 +23,6 @@ void crash1(void); void crashnostack(void); static int do_action(const char* arg); -static void debuggerd_connect() -{ - char tmp[1]; - int s; - sprintf(tmp, "%d", gettid()); - s = socket_local_client("android:debuggerd", - ANDROID_SOCKET_NAMESPACE_ABSTRACT, SOCK_STREAM); - if(s >= 0) { - read(s, tmp, 1); - close(s); - } -} - static void maybeabort() { if(time(0) != 42) { abort(); -- cgit v1.1