summaryrefslogtreecommitdiff
path: root/libs/binder/Parcel.cpp
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2019-04-02 19:50:26 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2019-04-02 19:50:26 +0000
commita9ed1a6486545ffc5bffca561d6f8991e7d5a578 (patch)
treed25f7fdf6a80441261df7a793327b63952035a19 /libs/binder/Parcel.cpp
parentdc5eade0ccc646982ab317891be86ad992bbea75 (diff)
parent37456354d4c2008491b1672b14333c2b9a4e6810 (diff)
Merge "libbinder: Remove unused type: small_flat_data"
Diffstat (limited to 'libs/binder/Parcel.cpp')
-rw-r--r--libs/binder/Parcel.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/libs/binder/Parcel.cpp b/libs/binder/Parcel.cpp
index 0423264135..ca6a97debb 100644
--- a/libs/binder/Parcel.cpp
+++ b/libs/binder/Parcel.cpp
@@ -76,14 +76,6 @@ static size_t pad_size(size_t s) {
// Note: must be kept in sync with android/os/StrictMode.java's PENALTY_GATHER
#define STRICT_MODE_PENALTY_GATHER (0x40 << 16)
-// XXX This can be made public if we want to provide
-// support for typed data.
-struct small_flat_data
-{
- uint32_t type;
- uint32_t data;
-};
-
namespace android {
static pthread_mutex_t gParcelGlobalAllocSizeLock = PTHREAD_MUTEX_INITIALIZER;