Merge "Remove old LOG_EVENT_* code from libsysutils"

This commit is contained in:
Treehugger Robot 2017-07-12 00:11:50 +00:00 committed by Gerrit Code Review
commit 5aee3ff22a
2 changed files with 0 additions and 3 deletions

View file

@ -211,7 +211,6 @@ out:
return;
overflow:
LOG_EVENT_INT(78001, cli->getUid());
cli->sendMsg(500, "Command too long", false);
goto out;
}

View file

@ -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;
}