diff options
author | Andreas Gampe <agampe@google.com> | 2014-11-25 18:52:24 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-25 18:52:24 +0000 |
commit | 09efe0ac2a0f34eb951c9a2b91b2d15e3ab7b7ca (patch) | |
tree | 7c09ac56448e163609cd137f806ce1fa5c8bc581 /libs | |
parent | 1e6116621bc2f7aedfd52a5f1327b530328435b0 (diff) | |
parent | 2e42a90653abd0fc8a76909b5f101782d187136e (diff) | |
download | frameworks_native-09efe0ac2a0f34eb951c9a2b91b2d15e3ab7b7ca.zip frameworks_native-09efe0ac2a0f34eb951c9a2b91b2d15e3ab7b7ca.tar.gz frameworks_native-09efe0ac2a0f34eb951c9a2b91b2d15e3ab7b7ca.tar.bz2 |
am 2e42a906: Merge "Binder: Remove unused functions & variables"
* commit '2e42a90653abd0fc8a76909b5f101782d187136e':
Binder: Remove unused functions & variables
Diffstat (limited to 'libs')
-rw-r--r-- | libs/binder/BpBinder.cpp | 1 | ||||
-rw-r--r-- | libs/binder/IPCThreadState.cpp | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/libs/binder/BpBinder.cpp b/libs/binder/BpBinder.cpp index 101de7e..345ba20 100644 --- a/libs/binder/BpBinder.cpp +++ b/libs/binder/BpBinder.cpp @@ -220,7 +220,6 @@ status_t BpBinder::unlinkToDeath( if ((obit.recipient == recipient || (recipient == NULL && obit.cookie == cookie)) && obit.flags == flags) { - const uint32_t allFlags = obit.flags|flags; if (outRecipient != NULL) { *outRecipient = mObituaries->itemAt(i).recipient; } diff --git a/libs/binder/IPCThreadState.cpp b/libs/binder/IPCThreadState.cpp index a37eba5..d29f671 100644 --- a/libs/binder/IPCThreadState.cpp +++ b/libs/binder/IPCThreadState.cpp @@ -70,7 +70,6 @@ namespace android { static const char* getReturnString(size_t idx); -static const char* getCommandString(size_t idx); static const void* printReturnCommand(TextOutput& out, const void* _cmd); static const void* printCommand(TextOutput& out, const void* _cmd); @@ -125,14 +124,6 @@ static const char* getReturnString(size_t idx) return "unknown"; } -static const char* getCommandString(size_t idx) -{ - if (idx < sizeof(kCommandStrings) / sizeof(kCommandStrings[0])) - return kCommandStrings[idx]; - else - return "unknown"; -} - static const void* printBinderTransactionData(TextOutput& out, const void* data) { const binder_transaction_data* btd = |