diff options
| author | Jean-Baptiste Queru <jbq@google.com> | 2010-06-15 09:26:31 -0700 |
|---|---|---|
| committer | Android Code Review <code-review@android.com> | 2010-06-15 09:26:31 -0700 |
| commit | b660bfc778470e009c794416562d12395a625ecb (patch) | |
| tree | 418657c9febacbcc7fc4312b3cfc8bf8de918d04 | |
| parent | 1dbfce3dfc66046402ccbd1e83928942f824294d (diff) | |
| parent | 8e78dc64d2fedccc77966b0636f7530f452dc7d5 (diff) | |
| download | system_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.c | 1 |
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; |
