commit | 9a8366b3d9560c35bd658454cc7a66952a07d8d7 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Mon Dec 09 13:45:31 2019 -0800 |
committer | Josh Gao <jmgao@google.com> | Wed Dec 11 13:40:41 2019 -0800 |
tree | b36875c2d446874dad97c77844487899b375aafc | |
parent | 687b55261c2e0e9732ab8b59e85872a863a0f1f5 [diff] [blame] |
adb: remove atransport ref counting. The reference count is always 0 or 1. Test: ./test_adb.py Change-Id: I669f98f4996f4e41ac037f1add9c47819d4003d4
diff --git a/adb/transport.h b/adb/transport.h index 89d76b8..0de3859 100644 --- a/adb/transport.h +++ b/adb/transport.h
@@ -266,7 +266,7 @@ usb_handle* GetUsbHandle() { return usb_handle_; } const TransportId id; - size_t ref_count = 0; + bool online = false; TransportType type = kTransportAny;