Merge "logd: remove unnecessary static"
This commit is contained in:
commit
a597f75045
1 changed files with 1 additions and 5 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue