summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin Moore <devinmoore@google.com>2020-11-09 13:19:11 -0800
committerDevin Moore <devinmoore@google.com>2020-11-09 13:24:52 -0800
commit90d01ef298a8c43068e63bcf1c2ab97b646643f8 (patch)
treeff3c4b94f2113f45d601140e219741ef1e908167
parentb1718de4ad4e0bce0c7053a4fc26c30afbcdd3e0 (diff)
downloadlibhidl-90d01ef298a8c43068e63bcf1c2ab97b646643f8.tar.gz
Remove unused grantors function in MQDescriptor
We don't want to be returning a mutable reference to the grantors. Since this function isn't being used anywhere, it is being removed. Fixes: 162465295 Test: m && atest fmq_test Change-Id: Ib5e519d100706c2443da99b85b27aa8dcb543d35
-rw-r--r--base/include/hidl/MQDescriptor.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/base/include/hidl/MQDescriptor.h b/base/include/hidl/MQDescriptor.h
index 786c1be..0429444 100644
--- a/base/include/hidl/MQDescriptor.h
+++ b/base/include/hidl/MQDescriptor.h
@@ -57,12 +57,6 @@ struct MQDescriptor {
return mGrantors;
}
- // This should be removed if no one is using it. We shouldn't be returning
- // a mutable reference if it's not necessary. TODO(b/162465295).
- inline ::android::hardware::hidl_vec<GrantorDescriptor> &grantors() {
- return mGrantors;
- }
-
inline const ::native_handle_t *handle() const {
return mHandle;
}