diff options
author | Andreas Gampe <agampe@google.com> | 2014-11-24 11:39:11 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2014-11-24 11:39:11 -0800 |
commit | 0b53b5c0b34ff0e14e05e7a4613c7364136f47a5 (patch) | |
tree | 84b5271e2acd45f76a419f543d0e7ffb09a0829b /libs/binder/IPCThreadState.cpp | |
parent | 8e5fdac4de722d4f1333471a5a60412a0db2d1df (diff) | |
download | frameworks_native-0b53b5c0b34ff0e14e05e7a4613c7364136f47a5.zip frameworks_native-0b53b5c0b34ff0e14e05e7a4613c7364136f47a5.tar.gz frameworks_native-0b53b5c0b34ff0e14e05e7a4613c7364136f47a5.tar.bz2 |
Binder: Remove unused functions & variables
For build-system CFLAGS clean-up, remove unused functions and
variables.
Change-Id: I88abc2bc99e6b91c7aa56470ff9671bf8bf29f8d
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
-rw-r--r-- | libs/binder/IPCThreadState.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
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 = |