summaryrefslogtreecommitdiffstats
path: root/adb/socket.h
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2018-01-31 13:15:51 -0800
committerJosh Gao <jmgao@google.com>2018-02-06 12:59:06 -0800
commit5e5076404aa57ea232079c0dc60698b37719ac85 (patch)
treed51455d45c6913f6655f527ce38fefc64d6df751 /adb/socket.h
parent9d6b55928ca9829fa3a4ff1bb71c9668d452a085 (diff)
downloadsystem_core-5e5076404aa57ea232079c0dc60698b37719ac85.tar.gz
system_core-5e5076404aa57ea232079c0dc60698b37719ac85.tar.bz2
system_core-5e5076404aa57ea232079c0dc60698b37719ac85.zip
adb: switch asocket's intrusive linked list to vectors.
Test: python test_device.py Change-Id: I24d7f5d0401de77d80c7a2dd5a7dcb551943342d
Diffstat (limited to 'adb/socket.h')
-rw-r--r--adb/socket.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/adb/socket.h b/adb/socket.h
index 64d05a92a..563e2c787 100644
--- a/adb/socket.h
+++ b/adb/socket.h
@@ -31,12 +31,6 @@ class atransport;
* remote asocket is bound to the protocol engine.
*/
struct asocket {
- /* chain pointers for the local/remote list of
- * asockets that this asocket lives in
- */
- asocket* next;
- asocket* prev;
-
/* the unique identifier for this asocket
*/
unsigned id;