Remove old LOG_EVENT_* code from libsysutils
As a side effect, this change fixes libbsysutils => liblog dependencies. LOG_EVENT_* macros are not defined for liblog.vendor. Test: BOARD_VNDK_VERSION=current mma Bug: 33241851 Bug: 63034227 Change-Id: I3df700d97481ec9aa59cf1796da1e991af28bdf5
This commit is contained in:
parent
f444650d0d
commit
087f3b74af
2 changed files with 0 additions and 3 deletions
|
@ -211,7 +211,6 @@ out:
|
|||
return;
|
||||
|
||||
overflow:
|
||||
LOG_EVENT_INT(78001, cli->getUid());
|
||||
cli->sendMsg(500, "Command too long", false);
|
||||
goto out;
|
||||
}
|
||||
|
|
|
@ -57,8 +57,6 @@ bool NetlinkListener::onDataAvailable(SocketClient *cli)
|
|||
count = TEMP_FAILURE_RETRY(uevent_kernel_recv(socket,
|
||||
mBuffer, sizeof(mBuffer), require_group, &uid));
|
||||
if (count < 0) {
|
||||
if (uid > 0)
|
||||
LOG_EVENT_INT(65537, uid);
|
||||
SLOGE("recvmsg failed (%s)", strerror(errno));
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue