bootstat: remove extraneous android_logcat_destroy.

android_logcat_pclose already does that.

Bug: http://b/67960705
Test: mma
Change-Id: I03d06b10807e8a313c9654c2e1db36bfb59e3f99
This commit is contained in:
Josh Gao 2017-10-18 15:42:45 -07:00
parent 4ff2607ef7
commit 52315ae329
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;