diff options
author | Badhri Jagan Sridharan <Badhri@google.com> | 2017-06-13 16:47:13 -0700 |
---|---|---|
committer | Badhri Jagan Sridharan <Badhri@google.com> | 2017-06-13 17:31:43 -0700 |
commit | 1303781ac74cf44fa25901d6406c4116e203335d (patch) | |
tree | d83aef6821175ece7beb197e991c7dad9f5b22a8 | |
parent | 63f8e081fa468344f1fd06a691111e3b29aba47b (diff) | |
download | marlin-1303781ac74cf44fa25901d6406c4116e203335d.tar.gz |
HAL: usb: remove double declaration of current port status
Bug: 62272992
Test: Manually test whether port_type is updated on unplug.
Change-Id: I53da42b1dc8ec40b2b8a252a27719276fe63107c
-rw-r--r-- | usb/Usb.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/usb/Usb.cpp b/usb/Usb.cpp index 0d84fb65..3fc65525 100644 --- a/usb/Usb.cpp +++ b/usb/Usb.cpp @@ -513,7 +513,6 @@ static void uevent_event(uint32_t /*epevents*/, struct data *payload) { pthread_mutex_lock(&payload->usb->mLock); if (payload->usb->mCallback_1_0 != NULL) { sp<IUsbCallback> callback_V1_1 = IUsbCallback::castFrom(payload->usb->mCallback_1_0); - hidl_vec<PortStatus_1_1> currentPortStatus_1_1; Return<void> ret; // V1_1 callback |