adb: remove unneeded assignment of id to zero
... as memory was already obtained zero'ed by calloc().
Change-Id: Ic73bad09b54cb778fd40bdf86bb40888ea504c5f
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
diff --git a/adb/sockets.c b/adb/sockets.c
index 58dcfbb..6d1c89b 100644
--- a/adb/sockets.c
+++ b/adb/sockets.c
@@ -762,7 +762,6 @@
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;