Turn off duplicate log

Bug: 27744135
Change-Id: Iaf5787d36c983f19586e1d1a40f35091fb168cfe
This commit is contained in:
Joe Onorato 2016-03-18 13:40:18 -07:00
parent 6eb4eab106
commit b03b6ac61e
1 changed files with 2 additions and 1 deletions

View File

@ -75,7 +75,8 @@ static int write_ctrl(const char *cmd) {
savedErrno = 0;
}
if (res < 0) {
ALOGI("Failed write_ctrl(%s) res=%d errno=%d", cmd, res, savedErrno);
// ALOGV is enough because all the callers also log failures
ALOGV("Failed write_ctrl(%s) res=%d errno=%d", cmd, res, savedErrno);
}
close(fd);
return -savedErrno;