* commit '09efe0ac2a0f34eb951c9a2b91b2d15e3ab7b7ca': Binder: Remove unused functions & variables
This commit is contained in:
commit
b54d73d972
@ -220,7 +220,6 @@ status_t BpBinder::unlinkToDeath(
|
|||||||
if ((obit.recipient == recipient
|
if ((obit.recipient == recipient
|
||||||
|| (recipient == NULL && obit.cookie == cookie))
|
|| (recipient == NULL && obit.cookie == cookie))
|
||||||
&& obit.flags == flags) {
|
&& obit.flags == flags) {
|
||||||
const uint32_t allFlags = obit.flags|flags;
|
|
||||||
if (outRecipient != NULL) {
|
if (outRecipient != NULL) {
|
||||||
*outRecipient = mObituaries->itemAt(i).recipient;
|
*outRecipient = mObituaries->itemAt(i).recipient;
|
||||||
}
|
}
|
||||||
|
@ -70,7 +70,6 @@
|
|||||||
namespace android {
|
namespace android {
|
||||||
|
|
||||||
static const char* getReturnString(size_t idx);
|
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* printReturnCommand(TextOutput& out, const void* _cmd);
|
||||||
static const void* printCommand(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";
|
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)
|
static const void* printBinderTransactionData(TextOutput& out, const void* data)
|
||||||
{
|
{
|
||||||
const binder_transaction_data* btd =
|
const binder_transaction_data* btd =
|
||||||
|
Loading…
Reference in New Issue
Block a user