Merge "logd: remove unnecessary static"

This commit is contained in:
Treehugger Robot 2020-05-12 19:28:52 +00:00 committed by Gerrit Code Review
commit a597f75045

View file

@ -45,11 +45,7 @@ bool LogListener::StartListener() {
}
void LogListener::ThreadFunction() {
static bool name_set;
if (!name_set) {
prctl(PR_SET_NAME, "logd.writer");
name_set = true;
}
prctl(PR_SET_NAME, "logd.writer");
while (true) {
HandleData();