summaryrefslogtreecommitdiffstats
path: root/minadbd/adb_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'minadbd/adb_main.cpp')
-rw-r--r--minadbd/adb_main.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/minadbd/adb_main.cpp b/minadbd/adb_main.cpp
index f6e240108..0e65386c4 100644
--- a/minadbd/adb_main.cpp
+++ b/minadbd/adb_main.cpp
@@ -26,13 +26,9 @@
#include "adb.h"
#include "transport.h"
-int adb_main(int is_daemon, int server_port)
-{
- atexit(usb_cleanup);
-
+int adb_main(int is_daemon, int server_port) {
adb_device_banner = "sideload";
- // No SIGCHLD. Let the service subproc handle its children.
signal(SIGPIPE, SIG_IGN);
init_transport_registration();