aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2010-06-15 09:26:31 -0700
committerAndroid Code Review <code-review@android.com>2010-06-15 09:26:31 -0700
commitb660bfc778470e009c794416562d12395a625ecb (patch)
tree418657c9febacbcc7fc4312b3cfc8bf8de918d04
parent1dbfce3dfc66046402ccbd1e83928942f824294d (diff)
parent8e78dc64d2fedccc77966b0636f7530f452dc7d5 (diff)
downloadsystem_core-b660bfc778470e009c794416562d12395a625ecb.tar.gz
system_core-b660bfc778470e009c794416562d12395a625ecb.tar.bz2
system_core-b660bfc778470e009c794416562d12395a625ecb.zip
Merge "adb: remove unneeded assignment of id to zero"
-rw-r--r--adb/sockets.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/adb/sockets.c b/adb/sockets.c
index 58dcfbbd..6d1c89ba 100644
--- a/adb/sockets.c
+++ b/adb/sockets.c
@@ -762,7 +762,6 @@ asocket *create_smart_socket(void (*action_cb)(asocket *s, const char *act))
D("Creating smart socket \n");
asocket *s = calloc(1, sizeof(asocket));
if (s == NULL) fatal("cannot allocate socket");
- s->id = 0;
s->enqueue = smart_socket_enqueue;
s->ready = smart_socket_ready;
s->close = smart_socket_close;