diff options
author | Elliott Hughes <enh@google.com> | 2014-01-31 10:36:33 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-01-31 10:37:18 -0800 |
commit | 6694d3e3d5b7ca2418bbca3007ad4b980f3a3602 (patch) | |
tree | 84f77153b049dca5c2118ced993e9de7a515fcd4 /debuggerd/crasher.c | |
parent | 51c4d4c431dbbabe6db1cea5bb21822c69b7546c (diff) | |
download | system_core-6694d3e3d5b7ca2418bbca3007ad4b980f3a3602.zip system_core-6694d3e3d5b7ca2418bbca3007ad4b980f3a3602.tar.gz system_core-6694d3e3d5b7ca2418bbca3007ad4b980f3a3602.tar.bz2 |
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
Diffstat (limited to 'debuggerd/crasher.c')
-rw-r--r-- | debuggerd/crasher.c | 13 |
1 files changed, 0 insertions, 13 deletions
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(); |