Merge "bootstat: remove extraneous android_logcat_destroy."

am: 6393c62e2e

Change-Id: If31be158f08cc8dcd22b0010ac1a306dc0dcc0ff
This commit is contained in:
Josh Gao 2017-10-19 01:56:51 +00:00 committed by android-build-merger
commit 39e5bb6129
1 changed files with 0 additions and 1 deletions

View File

@ -508,7 +508,6 @@ std::string BootReasonStrToReason(const std::string& boot_reason) {
android::base::ReadFdToString(fileno(fp), &content);
}
android_logcat_pclose(&ctx, fp);
android_logcat_destroy(&ctx);
static const char logcat_battery[] = "W/healthd ( 0): battery l=";
const char* match = logcat_battery;